diff --git a/src/de/steamwar/bausystem/commands/CommandBau.java b/src/de/steamwar/bausystem/commands/CommandBau.java index 67269f1..c9eb7f2 100644 --- a/src/de/steamwar/bausystem/commands/CommandBau.java +++ b/src/de/steamwar/bausystem/commands/CommandBau.java @@ -62,6 +62,10 @@ public class CommandBau implements CommandExecutor { if(!(sender instanceof Player)) return false; Player player = (Player) sender; + if(!BauSystem.getOwner().equals(player.getUniqueId())){ + player.sendMessage(BauSystem.PREFIX + "§cDies ist nicht deine Welt!"); + return false; + } if(args[0].equalsIgnoreCase("togglebuild")){ onToggleBD(player, args[1]);