mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-22 06:55:36 +01:00
Fixed blockcache being inaccurate
This commit is contained in:
parent
0284663aee
commit
46e1b54a74
25 changed files with 346 additions and 339 deletions
|
@ -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…
Add table
Reference in a new issue