Allow Bees to use custom hives. (#6656)
This commit is contained in:
parent
988fc97af1
commit
8084cc5499
1 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue