diff --git a/core/src/io/anuke/mindustry/core/NetServer.java b/core/src/io/anuke/mindustry/core/NetServer.java index cb616f97f3..8223661499 100644 --- a/core/src/io/anuke/mindustry/core/NetServer.java +++ b/core/src/io/anuke/mindustry/core/NetServer.java @@ -58,7 +58,7 @@ public class NetServer extends Module{ private final static Vector2 vector = new Vector2(); private final static Rectangle viewport = new Rectangle(); private final static Array returnArray = new Array<>(); - /**If a play goes away of their server-side coordinates by this distance, they get teleported back.*/ + /**If a player goes away of their server-side coordinates by this distance, they get teleported back.*/ private final static float correctDist = 16f; public final Administration admins = new Administration(); diff --git a/core/src/io/anuke/mindustry/world/blocks/production/Drill.java b/core/src/io/anuke/mindustry/world/blocks/production/Drill.java index 23be92f1f1..12a6635eb8 100644 --- a/core/src/io/anuke/mindustry/world/blocks/production/Drill.java +++ b/core/src/io/anuke/mindustry/world/blocks/production/Drill.java @@ -22,6 +22,7 @@ import io.anuke.ucore.core.Graphics; import io.anuke.ucore.core.Timers; import io.anuke.ucore.graphics.Draw; import io.anuke.ucore.util.Mathf; +import io.anuke.ucore.util.Threads; import static io.anuke.mindustry.Vars.content; public class Drill extends Block{ @@ -216,7 +217,7 @@ public class Drill extends Block{ @Override public boolean canPlaceOn(Tile tile){ if(isMultiblock()){ - for(Tile other : tile.getLinkedTilesAs(this, drawTiles)){ + for(Tile other : tile.getLinkedTilesAs(this, Threads.isLogic() ? tempTiles : drawTiles)){ if(isValid(other)){ return true; }