ForgePatch/patches/minecraft/net/minecraft/entity/item/FallingBlockEntity.java.patch

12 lines
764 B
Diff
Raw Normal View History

2019-05-23 23:02:15 +00:00
--- a/net/minecraft/entity/item/FallingBlockEntity.java
+++ b/net/minecraft/entity/item/FallingBlockEntity.java
2020-01-22 21:11:13 +00:00
@@ -153,7 +153,7 @@
2019-05-23 23:02:15 +00:00
((FallingBlock)block).func_176502_a_(this.field_70170_p, blockpos1, this.field_175132_d, blockstate);
}
- if (this.field_145810_d != null && block instanceof ITileEntityProvider) {
+ if (this.field_145810_d != null && this.field_175132_d.hasTileEntity()) {
TileEntity tileentity = this.field_70170_p.func_175625_s(blockpos1);
if (tileentity != null) {
CompoundNBT compoundnbt = tileentity.func_189515_b(new CompoundNBT());