Fix NPE
This commit is contained in:
parent
0241244520
commit
9ba801e8e4
@ -55,9 +55,11 @@ public class CmdFactionsChunkname extends FactionsCommand
|
||||
|
||||
// Args
|
||||
String target = this.readArg();
|
||||
|
||||
if (target != null)
|
||||
{
|
||||
target = target.trim();
|
||||
target = Txt.parse(target);
|
||||
}
|
||||
|
||||
String old = ta.getChunkName();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user