Fixed #1289
This commit is contained in:
@@ -47,8 +47,8 @@ public class Logic implements ApplicationListener{
|
|||||||
//blocks that get broken are appended to the team's broken block queue
|
//blocks that get broken are appended to the team's broken block queue
|
||||||
Tile tile = event.tile;
|
Tile tile = event.tile;
|
||||||
Block block = tile.block();
|
Block block = tile.block();
|
||||||
//skip null entities or nukes, for obvious reasons
|
//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) return;
|
if(tile.entity == null || tile.block() instanceof NuclearReactor || net.client()) return;
|
||||||
|
|
||||||
if(block instanceof BuildBlock){
|
if(block instanceof BuildBlock){
|
||||||
|
|
||||||
|
|||||||
@@ -190,7 +190,7 @@ public class ServerControl implements ApplicationListener{
|
|||||||
});
|
});
|
||||||
|
|
||||||
handler.register("version", "Displays server version info.", arg -> {
|
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"));
|
info("&lmJava Version: &ly{0}", System.getProperty("java.version"));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user