Allow Bees to use custom hives. (#6656)

This commit is contained in:
Jais Djurhuus-Kempel authored and GitHub committed 2020-05-12 14:29:32 -07:00
1 parent 988fc97af1
commit 8084cc5499
1 file changed
+11
@@ -0,0 +1,11 @@
--- a/net/minecraft/entity/passive/BeeEntity.java
+++ b/net/minecraft/entity/passive/BeeEntity.java
@@ -438,7 +438,7 @@
return false;
} else {
TileEntity tileentity = this.field_70170_p.func_175625_s(this.field_226369_bI_);
- return tileentity != null && tileentity.func_200662_C() == TileEntityType.field_226985_G_;
+ return tileentity instanceof BeehiveTileEntity;
}
}