mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
SPIGOT-6342: TROPICAL_FISH_BUCKET isSimilar returns true when it should not
This commit is contained in:
parent
085fe67aac
commit
ed4d4cd651
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ class CraftMetaTropicalFishBucket extends CraftMetaItem implements TropicalFishB
|
|||
CraftMetaTropicalFishBucket that = (CraftMetaTropicalFishBucket) meta;
|
||||
|
||||
return (hasVariant() ? that.hasVariant() && this.variant.equals(that.variant) : !that.hasVariant())
|
||||
&& entityTag != null ? that.entityTag != null && this.entityTag.equals(that.entityTag) : entityTag == null;
|
||||
&& (entityTag != null ? that.entityTag != null && this.entityTag.equals(that.entityTag) : that.entityTag == null);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue