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