Make this check exactly for how many args needed

This commit is contained in:
Taah 2024-05-03 17:05:00 -07:00
parent 6a655dfc2c
commit f866d9f5a3

View file

@ -95,7 +95,7 @@ public class MyWorldCommand extends PlexCommand
{ {
return messageComponent("selfPlayerWorldNotFound"); return messageComponent("selfPlayerWorldNotFound");
} }
if (args.length == 1) if (args.length != 3)
{ {
return usage("/myworld settings <interact | edit | visit> <nobody | anyone | members>"); return usage("/myworld settings <interact | edit | visit> <nobody | anyone | members>");
} }