Make debug-mode show /npc skin exception

This commit is contained in:
fullwall 2020-06-27 10:52:54 +08:00
parent 2cb61039eb
commit 99c7155a7a

View File

@ -1711,6 +1711,9 @@ public class NPCCommands {
}
});
} catch (Throwable t) {
if (Messaging.isDebugging()) {
t.printStackTrace();
}
Bukkit.getScheduler().runTask(CitizensAPI.getPlugin(), new Runnable() {
@Override
public void run() {