Sea port map fixes

This commit is contained in:
Anuken
2024-10-02 21:06:22 -04:00
parent d431ed8480
commit 24daa1e933
4 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@@ -423,7 +423,7 @@ public class NetServer implements ApplicationListener{
} }
}); });
clientCommands.<Player>register("vote", "<y/n/c>", "Vote to kick the current player. Admin can cancel the voting with 'c'.", (arg, player) -> { clientCommands.<Player>register("vote", "<y/n/c>", "Vote to kick the current player. Admins can cancel the voting with 'c'.", (arg, player) -> {
if(currentlyKicking == null){ if(currentlyKicking == null){
player.sendMessage("[scarlet]Nobody is being voted on."); player.sendMessage("[scarlet]Nobody is being voted on.");
}else{ }else{

View File

@@ -168,7 +168,7 @@ public class Weapon implements Cloneable{
t.row(); t.row();
t.add("[lightgray]" + Stat.inaccuracy.localized() + ": [white]" + (int)inaccuracy + " " + StatUnit.degrees.localized()); t.add("[lightgray]" + Stat.inaccuracy.localized() + ": [white]" + (int)inaccuracy + " " + StatUnit.degrees.localized());
} }
if(!alwaysContinuous && reload > 0){ if(!alwaysContinuous && reload > 0 && !bullet.killShooter){
t.row(); t.row();
t.add("[lightgray]" + Stat.reload.localized() + ": " + (mirror ? "2x " : "") + "[white]" + Strings.autoFixed(60f / reload * shoot.shots, 2) + " " + StatUnit.perSecond.localized()); t.add("[lightgray]" + Stat.reload.localized() + ": " + (mirror ? "2x " : "") + "[white]" + Strings.autoFixed(60f / reload * shoot.shots, 2) + " " + StatUnit.perSecond.localized());
} }

View File

@@ -400,7 +400,7 @@ public class PlacementFragment{
} }
}).growX().left().margin(3); }).growX().left().margin(3);
if(!displayBlock.isPlaceable() || !player.isBuilder()){ if((!displayBlock.isPlaceable() || !player.isBuilder()) && !state.rules.editor){
topTable.row(); topTable.row();
topTable.table(b -> { topTable.table(b -> {
b.image(Icon.cancel).padRight(2).color(Color.scarlet); b.image(Icon.cancel).padRight(2).color(Color.scarlet);