This commit is contained in:
Anuken 2019-12-31 10:29:18 -05:00
parent e7d813ab5b
commit a78c0defc7
2 changed files with 3 additions and 3 deletions

View File

@ -47,8 +47,8 @@ public class Logic implements ApplicationListener{
//blocks that get broken are appended to the team's broken block queue
Tile tile = event.tile;
Block block = tile.block();
//skip null entities or nukes, for obvious reasons
if(tile.entity == null || tile.block() instanceof NuclearReactor) return;
//skip null entities or nukes, for obvious reasons; also skip client since they can't modify these requests
if(tile.entity == null || tile.block() instanceof NuclearReactor || net.client()) return;
if(block instanceof BuildBlock){

View File

@ -190,7 +190,7 @@ public class ServerControl implements ApplicationListener{
});
handler.register("version", "Displays server version info.", arg -> {
info("&lmVersion: &lyMindustry {0}-{1} {2} / build {3}", Version.number, Version.modifier, Version.type, Version.build);
info("&lmVersion: &lyMindustry {0}-{1} {2} / build {3}", Version.number, Version.modifier, Version.type, Version.build + (Version.revision == 0 ? "" : "." + Version.revision));
info("&lmJava Version: &ly{0}", System.getProperty("java.version"));
});