geforkt von Mirrors/Paper
More NPEs!
Dieser Commit ist enthalten in:
Ursprung
4a9c761707
Commit
8c9f1090a4
@ -36,14 +36,14 @@ public class WorldServer extends World {
|
|||||||
@Override
|
@Override
|
||||||
public boolean c(int i1, int j1, int k1, int l1) {
|
public boolean c(int i1, int j1, int k1, int l1) {
|
||||||
boolean result = super.c(i1, j1, k1, l1);
|
boolean result = super.c(i1, j1, k1, l1);
|
||||||
world.updateBlock(i1, j1, k1);
|
if (world != null) world.updateBlock(i1, j1, k1);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean d(int i1, int j1, int k1, int l1) {
|
public boolean d(int i1, int j1, int k1, int l1) {
|
||||||
boolean result = super.d(i1, j1, k1, l1);
|
boolean result = super.d(i1, j1, k1, l1);
|
||||||
world.updateBlock(i1, j1, k1);
|
if (world != null) world.updateBlock(i1, j1, k1);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren