23 lines
950 B
Diff
23 lines
950 B
Diff
From e1908d282e958eb44f0ad2febe5faa120be3bb32 Mon Sep 17 00:00:00 2001
|
|
From: Iceee <andrew@opticgaming.tv>
|
|
Date: Wed, 17 Jun 2015 00:57:31 -0700
|
|
Subject: [PATCH] Stop updating flowing block if material has changed
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/BlockFlowing.java b/src/main/java/net/minecraft/server/BlockFlowing.java
|
|
index 422447843..cc45d601d 100644
|
|
--- a/src/main/java/net/minecraft/server/BlockFlowing.java
|
|
+++ b/src/main/java/net/minecraft/server/BlockFlowing.java
|
|
@@ -102,6 +102,8 @@ public class BlockFlowing extends BlockFluids {
|
|
this.n(world, i, j, k);
|
|
}
|
|
|
|
+ if (world.getType(i, j, k).getMaterial() != material) return; // PaperSpigot - Stop updating flowing block if material has changed
|
|
+
|
|
if (this.q(world, i, j - 1, k)) {
|
|
// CraftBukkit start - Send "down" to the server
|
|
BlockFromToEvent event = new BlockFromToEvent(source, BlockFace.DOWN);
|
|
--
|
|
2.13.3
|
|
|