mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-02 13:41:26 +01:00
Fixed blockcache being inaccurate
This commit is contained in:
parent
0284663aee
commit
46e1b54a74
@ -125,6 +125,13 @@ public class WorldServer extends World {
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean a(int i1, int j1, int k1, int l1, int i2) {
|
||||
boolean result = super.a(i1, j1, k1, l1, i2);
|
||||
if ((result) && (world != null)) world.updateBlock(i1, j1, k1);
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void a(int i1, int j1, int k1, TileEntity tileentity) {
|
||||
super.a(i1, j1, k1, tileentity);
|
||||
|
Loading…
Reference in New Issue
Block a user