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){
player.sendMessage("[scarlet]Nobody is being voted on.");
}else{

View File

@ -168,7 +168,7 @@ public class Weapon implements Cloneable{
t.row();
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.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);
if(!displayBlock.isPlaceable() || !player.isBuilder()){
if((!displayBlock.isPlaceable() || !player.isBuilder()) && !state.rules.editor){
topTable.row();
topTable.table(b -> {
b.image(Icon.cancel).padRight(2).color(Color.scarlet);