mirror of
https://github.com/plexusorg/Module-TFMExtras.git
synced 2024-12-28 02:24:33 +00:00
Make this check exactly for how many args needed
This commit is contained in:
parent
6a655dfc2c
commit
f866d9f5a3
1 changed files with 1 additions and 1 deletions
|
@ -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>");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue