mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 10:44:39 +01:00
22 lines
999 B
Diff
22 lines
999 B
Diff
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
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 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||
|
--- 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);
|
||
|
}
|
||
|
|
||
|
+ 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)) {
|
||
|
--
|
||
|
1.9.5.msysgit.1
|
||
|
|