3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 20:40:07 +01:00
Paper/Spigot-Server-Patches/0049-Fix-lava-water-some-times-creating-air-instead-of-co.patch

23 Zeilen
920 B
Diff

2016-03-25 05:59:37 +01:00
From 456394786a5214ac55eb69b4deb8e28e53338011 Mon Sep 17 00:00:00 2001
From: Iceee <andrew@opticgaming.tv>
2016-03-01 00:09:49 +01: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-03-01 00:09:49 +01:00
index 675cdc0..8c23ce3 100644
--- a/src/main/java/net/minecraft/server/BlockFluids.java
+++ b/src/main/java/net/minecraft/server/BlockFluids.java
2016-03-01 00:09:49 +01:00
@@ -166,7 +166,7 @@ public abstract class BlockFluids extends Block {
return true;
}
- if (integer.intValue() <= 4) {
2016-03-01 00:09:49 +01:00
+ if (integer.intValue() > 0) { // Paper
world.setTypeUpdate(blockposition, Blocks.COBBLESTONE.getBlockData());
this.fizz(world, blockposition);
return true;
--
2016-03-25 05:59:37 +01:00
2.7.1.windows.2