This commit is contained in:
Anuken
2021-10-15 14:24:40 -04:00
parent 816ab161df
commit f683496440
3 changed files with 5 additions and 5 deletions

View File

@@ -237,10 +237,7 @@ public class Blocks implements ContentList{
canShadow = false;
}};
empty = new EmptyFloor("empty"){{
placeableOn = false;
solid = true;
}};
empty = new EmptyFloor("empty");
stone = new Floor("stone");

View File

@@ -38,11 +38,11 @@ abstract class PlayerComp implements UnitController, Entityc, Syncc, Timerc, Dra
boolean admin;
String name = "frog";
Color color = new Color();
//locale should not be synced.
transient String locale = "en";
transient float deathTimer;
transient String lastText = "";
transient float textFadeTime;
transient private Unit lastReadUnit = Nulls.unit;
transient private int wrongReadUnits;
transient @Nullable Unit justSwitchFrom, justSwitchTo;

View File

@@ -3,12 +3,15 @@ package mindustry.world.blocks.environment;
import mindustry.content.*;
import mindustry.world.*;
/** Empty floor is *not* equivalent to air. Unlike air, it is solid, and still draws neighboring tile edges. */
public class EmptyFloor extends Floor{
public EmptyFloor(String name){
super(name);
variants = 0;
canShadow = false;
placeableOn = false;
solid = true;
}
@Override