Remove redstone checks for BlockPhysicsEvent as it wasnt working, general optimize

Just make it ignore the event fires when no plugin is listening to it.
This commit is contained in:
Aikar
2019-02-25 20:38:55 -05:00
parent 4438001433
commit 299936d568
20 changed files with 209 additions and 186 deletions

View File

@@ -10,7 +10,7 @@ Adds an option to control the force mode of the particle.
This adds a new Builder API which is much friendlier to use.
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
index e5ac50e88..2920a276c 100644
index ee09f4c5a0..e4730352d3 100644
--- a/src/main/java/net/minecraft/server/WorldServer.java
+++ b/src/main/java/net/minecraft/server/WorldServer.java
@@ -0,0 +0,0 @@ public class WorldServer extends World implements IAsyncTaskHandler {
@@ -34,7 +34,7 @@ index e5ac50e88..2920a276c 100644
if (this.a(entityplayer, force, d0, d1, d2, packetplayoutworldparticles)) { // CraftBukkit
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
index 36d27c2a3..d06496762 100644
index 36d27c2a3e..d064967620 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
@@ -0,0 +0,0 @@ public class CraftWorld implements World {