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

@ -14,7 +14,7 @@ minecraft_version=1.18.2
# as they do not follow standard versioning conventions.
minecraft_version_range=[1.18.2,1.19)
# The Forge version must agree with the Minecraft version to get a valid artifact
forge_version=40.2.17
forge_version=40.2.1
# The Forge version range can use any version of Forge as bounds or match the loader version range
forge_version_range=[40,)
# The loader version range can only use the major version of Forge/FML as bounds

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++;