From df0d81db7c4c0c6e2a2addb76a87221094dd5bef Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 26 Oct 2019 08:49:52 -0400 Subject: [PATCH] Update Tile.java --- core/src/io/anuke/mindustry/world/Tile.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/src/io/anuke/mindustry/world/Tile.java b/core/src/io/anuke/mindustry/world/Tile.java index c5526e5c23..f34d236afe 100644 --- a/core/src/io/anuke/mindustry/world/Tile.java +++ b/core/src/io/anuke/mindustry/world/Tile.java @@ -93,6 +93,10 @@ public class Tile implements Position, TargetTrait{ Call.onTileConfig(player, this, value); } + public void configureAny(int value){ + Call.onTileConfig(null, this, value); + } + @SuppressWarnings("unchecked") public T entity(){ return (T)entity; @@ -446,4 +450,4 @@ public class Tile implements Position, TargetTrait{ public String toString(){ return floor.name + ":" + block.name + ":" + overlay + "[" + x + "," + y + "] " + "entity=" + (entity == null ? "null" : (entity.getClass())) + ":" + getTeam(); } -} \ No newline at end of file +}