This commit is contained in:
Anuken 2024-12-17 09:04:08 -05:00
parent 9430e8bcde
commit 876003adb8
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ public class DatabaseDialog extends BaseDialog{
});
onResize(this::rebuild);
all.margin(20).marginTop(0f);
all.margin(20).marginTop(0f).marginRight(30f);
cont.top();
cont.table(s -> {

View File

@ -60,7 +60,7 @@ public class SteamVent extends Floor{
@Override
public void renderUpdate(UpdateRenderState state){
if(state.tile.block() == Blocks.air && (state.data += Time.delta) >= effectSpacing){
if(state.tile.nearby(-1, -1) != null && state.tile.nearby(-1, -1).block() == Blocks.air && (state.data += Time.delta) >= effectSpacing){
effect.at(state.tile.x * tilesize - tilesize, state.tile.y * tilesize - tilesize, effectColor);
state.data = 0f;
}