From f52fe1836f09633ec449f323b77a11000e2c629b Mon Sep 17 00:00:00 2001 From: jojo Date: Fri, 18 Sep 2020 21:12:06 +0200 Subject: [PATCH] Fix Missle Info --- src/de/steamwar/misslewars/items/Missile.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/de/steamwar/misslewars/items/Missile.java b/src/de/steamwar/misslewars/items/Missile.java index 946be79..a200f16 100644 --- a/src/de/steamwar/misslewars/items/Missile.java +++ b/src/de/steamwar/misslewars/items/Missile.java @@ -131,9 +131,10 @@ public class Missile extends SpecialItem { private int count() { EditSession e = WorldEdit.getInstance().getEditSessionFactory().getEditSession(world, -1); - Bukkit.getLogger().log(Level.SEVERE, e.toString()); BlockTypeMask blockTypeMask = new BlockTypeMask(e, TNT); + Bukkit.getLogger().log(Level.SEVERE, e.toString()); Bukkit.getLogger().log(Level.SEVERE, blockTypeMask.toString()); + Bukkit.getLogger().log(Level.SEVERE, clipboard.getRegion().toString()); return e.countBlocks(clipboard.getRegion(), blockTypeMask); }