2015-09-13 06:29:23 +02:00
|
|
|
From 7d5c47c8684090a2d862c32d3981b8afcb97d764 Mon Sep 17 00:00:00 2001
|
2015-07-01 04:46:05 +02:00
|
|
|
From: Iceee <andrew@opticgaming.tv>
|
|
|
|
Date: Tue, 30 Jun 2015 19:31:02 -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 ff18f63..ab2e43f 100644
|
|
|
|
--- a/src/main/java/net/minecraft/server/BlockFlowing.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/BlockFlowing.java
|
|
|
|
@@ -102,6 +102,7 @@ public class BlockFlowing extends BlockFluids {
|
|
|
|
this.f(world, blockposition, iblockdata);
|
|
|
|
}
|
|
|
|
|
|
|
|
+ if (world.getType(blockposition).getBlock().getMaterial() != material) return; // PaperSpigot - Stop updating flowing block if material has changed
|
|
|
|
IBlockData iblockdata2 = world.getType(blockposition.down());
|
|
|
|
|
|
|
|
if (this.h(world, blockposition.down(), iblockdata2)) {
|
|
|
|
--
|
2015-09-13 06:29:23 +02:00
|
|
|
2.5.2
|
2015-07-01 04:46:05 +02:00
|
|
|
|