2015-06-30 19:46:05 -07:00
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Iceee <andrew@opticgaming.tv>
2016-02-29 17:09:49 -06:00
Date: Wed, 2 Mar 2016 12:03:23 -0600
2015-06-30 19:46:05 -07: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
2017-03-25 00:22:02 -05:00
index f4ac7bafa..801b9cb7b 100644
2015-06-30 19:46:05 -07:00
--- a/src/main/java/net/minecraft/server/BlockFlowing.java
+++ b/src/main/java/net/minecraft/server/BlockFlowing.java
@@ -0,0 +0,0 @@ public class BlockFlowing extends BlockFluids {
this.f(world, blockposition, iblockdata);
}
2016-02-29 17:09:49 -06:00
+ if (world.getType(blockposition).getBlock().getBlockData().getMaterial() != material) return; // Paper - Stop updating flowing block if material has changed
2016-12-09 18:07:35 -06:00
org.bukkit.block.Block source = world.getWorld().getBlockAt(blockposition.getX(), blockposition.getY(), blockposition.getZ()); // CraftBukkit
2015-06-30 19:46:05 -07:00
IBlockData iblockdata2 = world.getType(blockposition.down());
2015-09-12 19:57:39 -05:00
--