13
0
geforkt von Mirrors/Paper

Make falling block height nerf respect doEntityDrops

Dieser Commit ist enthalten in:
Martin Panzer 2016-06-06 21:14:35 +02:00
Ursprung fbcd3ce763
Commit 74a3b887ff

Datei anzeigen

@ -34,7 +34,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+ // Paper start - Configurable EntityFallingBlock height nerf
+ if (this.world.paperConfig.fallingBlockHeightNerf != 0 && this.locY > this.world.paperConfig.fallingBlockHeightNerf) {
+ if (this.dropItem) {
+ if (this.dropItem && this.world.getGameRules().getBoolean("doEntityDrops")) {
+ this.a(new ItemStack(block, 1, block.getDropData(this.block)), 0.0F);
+ }
+