2016-03-16 08:21:39 +01:00
From 3becd04f9109592ab7c6f9c053e5790476a1e542 Mon Sep 17 00:00:00 2001
2015-07-01 04:46:05 +02:00
From: Iceee <andrew@opticgaming.tv>
2016-03-01 00:09:49 +01:00
Date: Wed, 2 Mar 2016 12:03:23 -0600
2015-07-01 04:46:05 +02:00
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
2016-03-01 00:09:49 +01:00
index f35f30c..1f07f82 100644
2015-07-01 04:46:05 +02:00
--- a/src/main/java/net/minecraft/server/BlockFlowing.java
+++ b/src/main/java/net/minecraft/server/BlockFlowing.java
2016-03-01 00:09:49 +01:00
@@ -101,6 +101,7 @@ public class BlockFlowing extends BlockFluids {
2015-07-01 04:46:05 +02:00
this.f(world, blockposition, iblockdata);
}
2016-03-01 00:09:49 +01:00
+ if (world.getType(blockposition).getBlock().getBlockData().getMaterial() != material) return; // Paper - Stop updating flowing block if material has changed
2015-07-01 04:46:05 +02:00
IBlockData iblockdata2 = world.getType(blockposition.down());
if (this.h(world, blockposition.down(), iblockdata2)) {
--
2016-03-01 00:09:49 +01:00
2.7.2
2015-07-01 04:46:05 +02:00