mirror of
https://github.com/PaperMC/Paper.git
synced 2024-09-06 20:08:13 +02:00
Should use > instead of != for consistancy. There are a few more checks I want to optimize, but for now I will avoid them in case I have broken anything today
This commit is contained in:
parent
75c1783647
commit
88be08f36a
@ -1,4 +1,4 @@
|
|||||||
From 7cbaaecf6d7a0ff82d824f3416d45ac80c68aaaf Mon Sep 17 00:00:00 2001
|
From 363c2838f5c2179bb6c0ad3cb7da777bd0ba63f6 Mon Sep 17 00:00:00 2001
|
||||||
From: md_5 <md_5@live.com.au>
|
From: md_5 <md_5@live.com.au>
|
||||||
Date: Thu, 16 May 2013 18:51:05 +1000
|
Date: Thu, 16 May 2013 18:51:05 +1000
|
||||||
Subject: [PATCH] Orebfuscator
|
Subject: [PATCH] Orebfuscator
|
||||||
@ -173,7 +173,7 @@ index 67477f4..e5004b3 100644
|
|||||||
}
|
}
|
||||||
diff --git a/src/main/java/org/spigotmc/OrebfuscatorManager.java b/src/main/java/org/spigotmc/OrebfuscatorManager.java
|
diff --git a/src/main/java/org/spigotmc/OrebfuscatorManager.java b/src/main/java/org/spigotmc/OrebfuscatorManager.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..e4d621a
|
index 0000000..003bc5d
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/main/java/org/spigotmc/OrebfuscatorManager.java
|
+++ b/src/main/java/org/spigotmc/OrebfuscatorManager.java
|
||||||
@@ -0,0 +1,211 @@
|
@@ -0,0 +1,211 @@
|
||||||
@ -346,7 +346,7 @@ index 0000000..e4d621a
|
|||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ // Check other blocks for updates
|
+ // Check other blocks for updates
|
||||||
+ if ( radius != 0 )
|
+ if ( radius > 0 )
|
||||||
+ {
|
+ {
|
||||||
+ updateNearbyBlocks( world, x + 1, y, z, radius - 1 );
|
+ updateNearbyBlocks( world, x + 1, y, z, radius - 1 );
|
||||||
+ updateNearbyBlocks( world, x - 1, y, z, radius - 1 );
|
+ updateNearbyBlocks( world, x - 1, y, z, radius - 1 );
|
||||||
|
Loading…
Reference in New Issue
Block a user