3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 04:20:08 +01:00

Changed commenting to use the system of writing XXX for methods that

we copied out of World.java
Dieser Commit ist enthalten in:
durron597 2011-01-01 18:36:24 -05:00
Ursprung ce271f8abc
Commit cb7e2ee234

Datei anzeigen

@ -55,10 +55,8 @@ public class WorldServer extends World {
public CraftServer getServer() { public CraftServer getServer() {
return server; return server;
} }
// CraftBukkit stop
// CraftBukkit start - note: the following methods are straight from the // XXX: the following method is straight from the World.java with tweaks as noted. KEEP THEM UPDATED!
// World.java with tweaks as noted. KEEP THEM UPDATED!
@Override @Override
public void g(int i1, int j1, int k1, int l1) { public void g(int i1, int j1, int k1, int l1) {
k(i1 - 1, j1, k1, l1); k(i1 - 1, j1, k1, l1);
@ -69,6 +67,7 @@ public class WorldServer extends World {
k(i1, j1, k1 + 1, l1); k(i1, j1, k1 + 1, l1);
} }
// XXX: the following method is straight from the World.java with tweaks as noted. KEEP THEM UPDATED!
private void k(int i1, int j1, int k1, int l1) { private void k(int i1, int j1, int k1, int l1) {
if (i || z) { if (i || z) {
return; return;
@ -87,10 +86,9 @@ public class WorldServer extends World {
block.b(this, i1, j1, k1, l1); block.b(this, i1, j1, k1, l1);
} }
} }
// CraftBukkit stop
// CraftBukkit start
@Override @Override
// XXX: the following method is straight from the World.java with tweaks as noted. KEEP THEM UPDATED!
public boolean a(int i1, int j1, int k1, int l1, boolean flag) { public boolean a(int i1, int j1, int k1, int l1, boolean flag) {
boolean superResult = super.a(i1, j1, k1, l1, flag); boolean superResult = super.a(i1, j1, k1, l1, flag);