Some fixes (#3630)

* Fix block action sending

* Fix chest property check
This commit is contained in:
Nassim Jahnke
2020-06-26 21:34:52 +02:00
parent 7b7d482818
commit 2bdad1f69a
3 changed files with 3 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
}
private void a(SoundEffect soundeffect) {
+ if (!this.getBlock().get(BlockChest.waterlogged())) { return; } // Paper - this can be delayed, double check exists - Fixes GH-2074
+ if (!this.getBlock().b(BlockChest.c)) { return; } // Paper - this can be delayed, double check exists - Fixes GH-2074
BlockPropertyChestType blockpropertychesttype = (BlockPropertyChestType) this.getBlock().get(BlockChest.c);
if (blockpropertychesttype != BlockPropertyChestType.LEFT) {