3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-15 19:10:09 +01:00
Paper/Spigot-Server-Patches/0067-Fix-lava-water-some-times-creating-air-instead-of-co.patch

23 Zeilen
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