2016-03-29 03:01:42 +02:00
|
|
|
From e85b4d19d220e6b663b4a518597ff7cf77831e80 Mon Sep 17 00:00:00 2001
|
2016-03-01 00:09:49 +01:00
|
|
|
From: Byteflux <byte@byteflux.net>
|
|
|
|
Date: Wed, 2 Mar 2016 00:55:24 -0600
|
|
|
|
Subject: [PATCH] Optimize draining
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/BlockFlowing.java b/src/main/java/net/minecraft/server/BlockFlowing.java
|
2016-03-25 05:59:37 +01:00
|
|
|
index 036e861..f35f30c 100644
|
2016-03-01 00:09:49 +01:00
|
|
|
--- a/src/main/java/net/minecraft/server/BlockFlowing.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/BlockFlowing.java
|
|
|
|
@@ -88,7 +88,13 @@ public class BlockFlowing extends BlockFluids {
|
|
|
|
iblockdata = iblockdata.set(BlockFlowing.LEVEL, Integer.valueOf(i1));
|
|
|
|
world.setTypeAndData(blockposition, iblockdata, 2);
|
|
|
|
world.a(blockposition, (Block) this, j);
|
|
|
|
- world.applyPhysics(blockposition, this);
|
|
|
|
+ // Paper start - Optimize draining
|
|
|
|
+ world.e(blockposition.west(), this);
|
|
|
|
+ world.e(blockposition.east(), this);
|
|
|
|
+ world.e(blockposition.up(), this);
|
|
|
|
+ world.e(blockposition.north(), this);
|
|
|
|
+ world.e(blockposition.south(), this);
|
|
|
|
+ // Paper end
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
--
|
2016-03-29 03:01:42 +02:00
|
|
|
2.7.4
|
2016-03-01 00:09:49 +01:00
|
|
|
|