Paper/Spigot-Server-Patches/0048-Fix-lava-water-some-times-creating-air-instead-of-co.patch

23 lines
910 B
Diff
Raw Normal View History

2016-06-09 11:57:14 +08:00
From 123e2e4ee662aefbaf32cce1397b45b43e6c9aee Mon Sep 17 00:00:00 2001
From: Iceee <andrew@opticgaming.tv>
2016-03-01 07:09:49 +08:00
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
2016-06-09 11:57:14 +08:00
index ddd5199..d7308dd 100644
--- a/src/main/java/net/minecraft/server/BlockFluids.java
+++ b/src/main/java/net/minecraft/server/BlockFluids.java
2016-05-12 10:07:46 +08:00
@@ -169,7 +169,7 @@ public abstract class BlockFluids extends Block {
return true;
}
- if (integer.intValue() <= 4) {
2016-03-01 07:09:49 +08:00
+ if (integer.intValue() > 0) { // Paper
world.setTypeUpdate(blockposition, Blocks.COBBLESTONE.getBlockData());
this.fizz(world, blockposition);
return true;
--
2016-06-09 11:57:14 +08:00
2.8.3