From 193c50f99cbfe83fe8d5e1b13cd7dde26467c1b6 Mon Sep 17 00:00:00 2001 From: Jan9103 Date: Sun, 5 Apr 2020 15:13:40 +0200 Subject: [PATCH] =?UTF-8?q?wieder=20eine=20Log-Meldung=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java | 1 + 1 file changed, 1 insertion(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java b/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java index c44cdb8..e532a6f 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java @@ -287,6 +287,7 @@ public class BauSystem extends JavaPlugin implements Listener { for (Attribute a : Attribute.values()) meta.removeAttributeModifier(a); stack.setItemMeta(meta); + Bukkit.getLogger().log(Level.SEVERE, "Spieler " + p.getName() + " (" + p.getUniqueId().toString() + ") hat versucht ein Item mit einem Attribute-Modifier zu bekommen."); } Material material = stack.getType(); if (material == Material.POTION || material == Material.SPLASH_POTION || material == Material.LINGERING_POTION)