mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-24 11:36:11 +01:00
for
/region flag id name subname some string with spacaes valueStr now contains 'some string with spaces' this does only work for flags with a subname
This commit is contained in:
parent
a473f47235
commit
d02c5057c6
@ -51,7 +51,12 @@ public boolean handle(CommandSender sender, String senderName, String command, S
|
|||||||
valueStr = args[2];
|
valueStr = args[2];
|
||||||
} else {
|
} else {
|
||||||
subnameStr = args[2];
|
subnameStr = args[2];
|
||||||
valueStr = args[3];
|
StringBuilder tmp = new StringBuilder();
|
||||||
|
for(int i=3; i < args.length; i++)
|
||||||
|
{
|
||||||
|
tmp.append(args[i]);
|
||||||
|
}
|
||||||
|
valueStr = tmp.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
RegionManager mgr = cfg.getWorldGuardPlugin().getGlobalRegionManager().getRegionManager(wcfg.getWorldName());
|
RegionManager mgr = cfg.getWorldGuardPlugin().getGlobalRegionManager().getRegionManager(wcfg.getWorldName());
|
||||||
|
Loading…
Reference in New Issue
Block a user