mirror of
https://github.com/plexusorg/Module-TFMExtras.git
synced 2024-11-17 17:16:12 +00:00
Make this check exactly for how many args needed
This commit is contained in:
parent
6a655dfc2c
commit
f866d9f5a3
@ -95,7 +95,7 @@ public class MyWorldCommand extends PlexCommand
|
||||
{
|
||||
return messageComponent("selfPlayerWorldNotFound");
|
||||
}
|
||||
if (args.length == 1)
|
||||
if (args.length != 3)
|
||||
{
|
||||
return usage("/myworld settings <interact | edit | visit> <nobody | anyone | members>");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user