Adjust the warps command

This commit is contained in:
Tara Piccari 2024-01-28 16:36:34 -07:00
parent e713101f59
commit ce4667b6b4
2 changed files with 3 additions and 6 deletions

View file

@ -140,11 +140,8 @@ public class WarpsCommand {
)
.withInfo(new LoreEntry.Builder().text(ChatHelpers.macro(appendType, warp.destination.Dimension).getString()).build());
if(warps.size() > (2*9))
{
// Say to person
ChatHelpers.broadcastTo(p, warpMsg, p.server);
}else
ChatHelpers.broadcastTo(p, warpMsg, p.server);
if(!(warps.size() > (2*9)))
chestGui.withButton(button);
iconY++;