更新插件时检测在线玩家,如果有玩家则不会更新。

修复 /tlib iteminfo 命令的一些语法错误。
This commit is contained in:
坏黑
2018-07-04 22:23:15 +08:00
parent b10b11cff0
commit 6069ea9ad0
4 changed files with 36 additions and 1 deletions

View File

@@ -190,7 +190,7 @@ public class NBTCompound {
}
public String asNBTString(){
return getCompound().toString();
return getCompound() == null ? "" : getCompound().toString();
}
}