mirror of
https://github.com/plexusorg/Module-TFMExtras.git
synced 2025-06-29 15:06:41 +00:00
Make this check exactly for how many args needed
This commit is contained in:
@ -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>");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user