diff options
Diffstat (limited to 'Spigot-Server-Patches/0339-Optimize-redstone-algorithm.patch')
-rw-r--r-- | Spigot-Server-Patches/0339-Optimize-redstone-algorithm.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Spigot-Server-Patches/0339-Optimize-redstone-algorithm.patch b/Spigot-Server-Patches/0339-Optimize-redstone-algorithm.patch index e7ed67cf27..e578671343 100644 --- a/Spigot-Server-Patches/0339-Optimize-redstone-algorithm.patch +++ b/Spigot-Server-Patches/0339-Optimize-redstone-algorithm.patch @@ -1,4 +1,4 @@ -From 62b4b8f39aa3507325cb971c593ca157a7b1f116 Mon Sep 17 00:00:00 2001 +From 0834959b160570b5a53a63d118ae4c460e857aed Mon Sep 17 00:00:00 2001 From: theosib <[email protected]> Date: Thu, 27 Sep 2018 01:43:35 -0600 Subject: [PATCH] Optimize redstone algorithm @@ -19,10 +19,10 @@ Aside from making the obvious class/function renames and obfhelpers I didn't nee Just added Bukkit's event system and took a few liberties with dead code and comment misspellings. diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java -index 2299860b81..91c809b7ce 100644 +index c7ff264cb..1ad6d6483 100644 --- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java -@@ -434,4 +434,14 @@ public class PaperWorldConfig { +@@ -439,4 +439,14 @@ public class PaperWorldConfig { private void preventMovingIntoUnloadedChunks() { preventMovingIntoUnloadedChunks = getBoolean("prevent-moving-into-unloaded-chunks", false); } @@ -39,7 +39,7 @@ index 2299860b81..91c809b7ce 100644 } diff --git a/src/main/java/com/destroystokyo/paper/util/RedstoneWireTurbo.java b/src/main/java/com/destroystokyo/paper/util/RedstoneWireTurbo.java new file mode 100644 -index 0000000000..cf5661f1c5 +index 000000000..cf5661f1c --- /dev/null +++ b/src/main/java/com/destroystokyo/paper/util/RedstoneWireTurbo.java @@ -0,0 +1,912 @@ @@ -956,7 +956,7 @@ index 0000000000..cf5661f1c5 + } +} diff --git a/src/main/java/net/minecraft/server/BlockRedstoneWire.java b/src/main/java/net/minecraft/server/BlockRedstoneWire.java -index cffb8de4f1..337c03d1d8 100644 +index cffb8de4f..337c03d1d 100644 --- a/src/main/java/net/minecraft/server/BlockRedstoneWire.java +++ b/src/main/java/net/minecraft/server/BlockRedstoneWire.java @@ -1,5 +1,7 @@ @@ -1124,7 +1124,7 @@ index cffb8de4f1..337c03d1d8 100644 c(iblockdata, world, blockposition); world.a(blockposition, false); diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java -index 1c3285f5c0..ef561cd95b 100644 +index dc0d89ee6..6189935bd 100644 --- a/src/main/java/net/minecraft/server/World.java +++ b/src/main/java/net/minecraft/server/World.java @@ -594,6 +594,7 @@ public abstract class World implements IIBlockAccess, GeneratorAccess, AutoClose @@ -1144,5 +1144,5 @@ index 1c3285f5c0..ef561cd95b 100644 int i = 0; EnumDirection[] aenumdirection = World.a; -- -2.22.0 +2.23.0 |