Fix MultiFence Model

This commit is contained in:
Nedelosk committed 2017-04-10 21:17:35 +02:00
1 parent c5c76f4009
commit 4202534e1f
1 file changed
+9
@@ -37,6 +37,15 @@ public class ModelMultiFence extends ModelBlockCached<BlockMultiFence, ModelMult
public Key(int meta, boolean west, boolean east, boolean north, boolean south) {
this.meta = meta;
this.type = WoodManager.getFenceType(meta);
this.west = west;
this.east = east;
this.south = south;
this.north = north;
}
@Override
public int hashCode() {
return Integer.hashCode(meta) + Boolean.hashCode(east)+ Boolean.hashCode(west)+ Boolean.hashCode(south)+ Boolean.hashCode(north);
}
@Override