mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 03:49:07 +00:00
Fix MultiFence Model
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user