From 6bd69fd2f641771f444bc432bf08e593ff07ba23 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 19 Nov 2019 17:51:52 +0100 Subject: [PATCH] Fix of NullPointerException --- .../de/steamwar/schematicsystem/commands/SchematicCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/SchematicCommand.java b/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/SchematicCommand.java index 5a5ab31..52f648c 100644 --- a/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/SchematicCommand.java +++ b/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/SchematicCommand.java @@ -322,7 +322,7 @@ public class SchematicCommand implements CommandExecutor { } SteamwarUser warkingUser = SteamwarUser.get(args[2]); - if(warkingUser.getUUID() == null){ + if(warkingUser == null){ player.sendMessage(SchematicSystem.PREFIX + "§cDieser Spieler existiert nicht"); return; }