2015-04-18 11:31:53 +02:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Byteflux <byte@byteflux.net>
|
2016-03-01 00:09:49 +01:00
|
|
|
Date: Wed, 2 Mar 2016 00:55:24 -0600
|
2015-04-18 11:31:53 +02:00
|
|
|
Subject: [PATCH] Optimize draining
|
|
|
|
|
|
|
|
|
|
|
|
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 {
|
|
|
|
iblockdata = iblockdata.set(BlockFlowing.LEVEL, Integer.valueOf(i1));
|
|
|
|
world.setTypeAndData(blockposition, iblockdata, 2);
|
|
|
|
world.a(blockposition, (Block) this, j);
|
|
|
|
- world.applyPhysics(blockposition, this);
|
2016-03-01 00:09:49 +01:00
|
|
|
+ // 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
|
2015-04-18 11:31:53 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
2015-09-13 02:57:39 +02:00
|
|
|
--
|