mirror of
https://github.com/plexusorg/Module-TFMExtras.git
synced 2024-12-22 01:07:37 +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