Cleanup
This commit is contained in:
@@ -41,7 +41,7 @@ text.server.friendlyfire=Friendly Fire
|
||||
text.trace=Trace Player
|
||||
text.trace.playername=Player name: [accent]{0}
|
||||
text.trace.ip=IP: [accent]{0}
|
||||
text.trace.modclient=Modded Client: [accent]{0}
|
||||
text.trace.modclient=Custom Client: [accent]{0}
|
||||
text.trace.totalblocksbroken=Total blocks broken: [accent]{0}
|
||||
text.trace.structureblocksbroken=Structure blocks broken: [accent]{0}
|
||||
text.trace.lastblockbroken=Last block broken: [accent]{0}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#Autogenerated file. Do not modify.
|
||||
#Mon Feb 26 17:17:34 EST 2018
|
||||
#Mon Feb 26 18:01:50 EST 2018
|
||||
version=release
|
||||
androidBuildCode=291
|
||||
name=Mindustry
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.io.IOException;
|
||||
import static io.anuke.mindustry.Vars.player;
|
||||
import static io.anuke.mindustry.Vars.ui;
|
||||
|
||||
//TODO add port specification
|
||||
public class HostDialog extends FloatingDialog{
|
||||
float w = 300;
|
||||
|
||||
@@ -31,7 +30,7 @@ public class HostDialog extends FloatingDialog{
|
||||
Settings.put("name", text);
|
||||
Settings.save();
|
||||
ui.listfrag.rebuild();
|
||||
}).grow().pad(8).get().setMaxLength(48);
|
||||
}).grow().pad(8).get().setMaxLength(40);
|
||||
|
||||
ImageButton button = t.addImageButton("white", 40, () -> {
|
||||
new ColorPickDialog().show(color -> {
|
||||
|
||||
@@ -56,7 +56,6 @@ public class JoinDialog extends FloatingDialog {
|
||||
setupRemote();
|
||||
refreshRemote();
|
||||
}else{
|
||||
//renaming.port = Strings.parseInt(Settings.getString("port"));
|
||||
renaming.ip = Settings.getString("ip");
|
||||
saveServers();
|
||||
setupRemote();
|
||||
@@ -179,7 +178,7 @@ public class JoinDialog extends FloatingDialog {
|
||||
Vars.player.name = text;
|
||||
Settings.put("name", text);
|
||||
Settings.save();
|
||||
}).grow().pad(8).get().setMaxLength(48);
|
||||
}).grow().pad(8).get().setMaxLength(40);
|
||||
|
||||
ImageButton button = t.addImageButton("white", 40, () -> {
|
||||
new ColorPickDialog().show(color -> {
|
||||
|
||||
@@ -35,7 +35,7 @@ public class TraceDialog extends FloatingDialog {
|
||||
table.row();
|
||||
table.add(Bundles.format("text.trace.structureblocksbroken", info.structureBlocksBroken));
|
||||
table.row();
|
||||
table.add(Bundles.format("text.trace.lastblockbroken", info.lastBlockBroken));
|
||||
table.add(Bundles.format("text.trace.lastblockbroken", info.lastBlockBroken.formalName));
|
||||
table.row();
|
||||
|
||||
table.add().pad(5);
|
||||
@@ -43,7 +43,7 @@ public class TraceDialog extends FloatingDialog {
|
||||
|
||||
table.add(Bundles.format("text.trace.totalblocksplaced", info.totalBlocksPlaced));
|
||||
table.row();
|
||||
table.add(Bundles.format("text.trace.lastblockplaced", info.lastBlockPlaced));
|
||||
table.add(Bundles.format("text.trace.lastblockplaced", info.lastBlockPlaced.formalName));
|
||||
table.row();
|
||||
|
||||
content().add(table);
|
||||
|
||||
@@ -504,14 +504,14 @@ public class ServerControl extends Module {
|
||||
Log.info("&lcTrace info for player '{0}':", target.name);
|
||||
Log.info(" &lyEntity ID: {0}", info. playerid);
|
||||
Log.info(" &lyIP: {0}", info.ip);
|
||||
Log.info(" &lymodded client: {0}", info.modclient);
|
||||
Log.info(" &lycustom client: {0}", info.modclient);
|
||||
Log.info("");
|
||||
Log.info(" &lytotal blocks broken: {0}", info.totalBlocksBroken);
|
||||
Log.info(" &lystructure blocks broken: {0}", info.structureBlocksBroken);
|
||||
Log.info(" &lylast block broken: {0}", info.lastBlockBroken);
|
||||
Log.info(" &lylast block broken: {0}", info.lastBlockBroken.formalName);
|
||||
Log.info("");
|
||||
Log.info(" &lytotal blocks placed: {0}", info.totalBlocksPlaced);
|
||||
Log.info(" &lylast block placed: {0}", info.lastBlockPlaced);
|
||||
Log.info(" &lylast block placed: {0}", info.lastBlockPlaced.formalName);
|
||||
}else{
|
||||
info("Nobody with that name could be found.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user