From cc1324f58133237de37222f787a8083a5a4d3030 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Wed, 9 Aug 2017 15:45:27 +1000 Subject: [PATCH] Fixes #1682 --- .../plotsquared/bukkit/listeners/PlayerEvents_1_8.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents_1_8.java b/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents_1_8.java index 50a643382..c7cca4887 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents_1_8.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents_1_8.java @@ -11,6 +11,10 @@ import com.intellectualcrafters.plot.util.MainUtil; import com.intellectualcrafters.plot.util.Permissions; import com.plotsquared.bukkit.util.BukkitUtil; import com.plotsquared.listener.PlotListener; +import java.util.HashSet; +import java.util.List; +import java.util.UUID; +import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.block.BlockState; import org.bukkit.entity.ArmorStand; @@ -27,10 +31,6 @@ import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.PlayerInventory; import org.bukkit.inventory.meta.ItemMeta; -import java.util.HashSet; -import java.util.List; -import java.util.UUID; - public class PlayerEvents_1_8 extends PlotListener implements Listener { @SuppressWarnings("deprecation") @@ -70,7 +70,7 @@ public class PlayerEvents_1_8 extends PlotListener implements Listener { if (!"[(+NBT)]".equals(newLore) || (current.equals(newItem) && newLore.equals(oldLore))) { return; } - HashSet blocks = null; + HashSet blocks = null; Block block = player.getTargetBlock(blocks, 7); BlockState state = block.getState(); if (state == null) {