mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-10 15:19:24 +07:00
Fixed #1289
This commit is contained in:
parent
e7d813ab5b
commit
a78c0defc7
@ -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){
|
||||
|
||||
|
@ -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"));
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user