GC retention fixes

This commit is contained in:
Anuken
2023-12-10 20:01:40 -05:00
parent a0f235b430
commit 1eb70404d7
4 changed files with 40 additions and 21 deletions

View File

@@ -26,8 +26,8 @@ public class Puddles{
}
/** Returns the Puddle on the specified tile. May return null. */
public static Puddle get(Tile tile){
return world.tiles.puddle(tile.array());
public static @Nullable Puddle get(Tile tile){
return world.tiles.getPuddle(tile.array());
}
public static void deposit(Tile tile, Tile source, Liquid liquid, float amount, boolean initial){