Replaced some post calls with cancel-able time calls

This commit is contained in:
Anuken
2025-04-24 11:18:24 -04:00
parent 37902a1f1c
commit 8de3e28994
4 changed files with 5 additions and 8 deletions

View File

@@ -60,7 +60,7 @@ public class MinimapRenderer{
if(e.tile.block().solid && e.tile.y > 0){
Tile tile = world.tile(e.tile.x, e.tile.y - 1);
if(tile.block() == Blocks.air){
Core.app.post(() -> update(tile));
Time.run(0f, () -> update(tile));
}
}
});