Paper/Spigot-Server-Patches/0048-Fix-lava-water-some-times-creating-air-instead-of-co.patch
2016-05-12 01:01:13 -04:00

23 lines
910 B
Diff

From d9bae1b188028fa421ed5f26e207ba39a8202049 Mon Sep 17 00:00:00 2001
From: Iceee <andrew@opticgaming.tv>
Date: Wed, 2 Mar 2016 23:38:52 -0600
Subject: [PATCH] Fix lava/water some times creating air instead of cobblestone
diff --git a/src/main/java/net/minecraft/server/BlockFluids.java b/src/main/java/net/minecraft/server/BlockFluids.java
index a076f4d..93bfd53 100644
--- a/src/main/java/net/minecraft/server/BlockFluids.java
+++ b/src/main/java/net/minecraft/server/BlockFluids.java
@@ -169,7 +169,7 @@ public abstract class BlockFluids extends Block {
return true;
}
- if (integer.intValue() <= 4) {
+ if (integer.intValue() > 0) { // Paper
world.setTypeUpdate(blockposition, Blocks.COBBLESTONE.getBlockData());
this.fizz(world, blockposition);
return true;
--
2.8.2