mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 19:52:55 +01:00
More NPEs!
This commit is contained in:
parent
4a9c761707
commit
8c9f1090a4
1 changed files with 2 additions and 2 deletions
|
@ -36,14 +36,14 @@ public class WorldServer extends World {
|
|||
@Override
|
||||
public boolean c(int i1, int j1, int k1, int l1) {
|
||||
boolean result = super.c(i1, j1, k1, l1);
|
||||
world.updateBlock(i1, j1, k1);
|
||||
if (world != null) world.updateBlock(i1, j1, k1);
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean d(int i1, int j1, int k1, int l1) {
|
||||
boolean result = super.d(i1, j1, k1, l1);
|
||||
world.updateBlock(i1, j1, k1);
|
||||
if (world != null) world.updateBlock(i1, j1, k1);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue