mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-05 10:20:53 +01:00
23 lines
916 B
Diff
23 lines
916 B
Diff
From 7a75bfc6005068781daff4e13863ad30ed28a60f Mon Sep 17 00:00:00 2001
|
|
From: Iceee <andrew@opticgaming.tv>
|
|
Date: Tue, 4 Aug 2015 18:15:05 -0700
|
|
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 b610450..db73f5d 100644
|
|
--- a/src/main/java/net/minecraft/server/BlockFluids.java
|
|
+++ b/src/main/java/net/minecraft/server/BlockFluids.java
|
|
@@ -154,7 +154,7 @@ public abstract class BlockFluids extends Block {
|
|
return true;
|
|
}
|
|
|
|
- if (integer.intValue() <= 4) {
|
|
+ if (integer.intValue() > 0) { // PaperSpigot
|
|
world.setTypeUpdate(blockposition, Blocks.COBBLESTONE.getBlockData());
|
|
this.fizz(world, blockposition);
|
|
return true;
|
|
--
|
|
2.5.2
|
|
|