mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 11:59:25 +00:00
Allow Bees to use custom hives. (#6656)
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user