mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 09:42:05 +01:00
9ff01b16ab
This will be used by my next commit. But trying to get the build going since CI blew up
22 lines
910 B
Diff
22 lines
910 B
Diff
From 373eef295a46206b41b22b4cb6631d0f3d2c98a9 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 675cdc0..8c23ce3 100644
|
|
--- a/src/main/java/net/minecraft/server/BlockFluids.java
|
|
+++ b/src/main/java/net/minecraft/server/BlockFluids.java
|
|
@@ -166,7 +166,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.7.4
|
|
|