From 0b7e63bafb20421461133856c0dad6961a3aa62c Mon Sep 17 00:00:00 2001 From: MattBDev <4009945+MattBDev@users.noreply.github.com> Date: Wed, 24 Apr 2019 22:04:30 -0400 Subject: [PATCH] Added new 1.14 blocks --- .../bukkit/listeners/PlayerEvents.java | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/listeners/PlayerEvents.java b/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/listeners/PlayerEvents.java index 346983255..144afd98e 100644 --- a/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/listeners/PlayerEvents.java +++ b/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/listeners/PlayerEvents.java @@ -939,8 +939,8 @@ import java.util.regex.Pattern; String sender = event.getPlayer().getDisplayName(); PlotId id = plot.getId(); Set recipients = event.getRecipients(); - Set spies = new HashSet<>(); recipients.clear(); + Set spies = new HashSet<>(); for (Entry entry : UUIDHandler.getPlayers().entrySet()) { PlotPlayer pp = entry.getValue(); if (pp.getAttribute("chatspy")) { @@ -1951,6 +1951,18 @@ import java.util.regex.Pattern; case LEGACY_SIGN: case LEGACY_WALL_SIGN: + case OAK_SIGN: + case ACACIA_SIGN: + case ACACIA_WALL_SIGN: + case BIRCH_SIGN: + case BIRCH_WALL_SIGN: + case DARK_OAK_SIGN: + case DARK_OAK_WALL_SIGN: + case JUNGLE_SIGN: + case JUNGLE_WALL_SIGN: + case OAK_WALL_SIGN: + case SPRUCE_SIGN: + case SPRUCE_WALL_SIGN: case REDSTONE_TORCH: case REDSTONE_WALL_TORCH: @@ -1966,10 +1978,17 @@ import java.util.regex.Pattern; case COMMAND_BLOCK: case COMPARATOR: case CRAFTING_TABLE: + //todo re-evaluate adding lectern here + case LECTERN: + case GRINDSTONE: + case LOOM: + case SMOKER: + case STONECUTTER: case DISPENSER: case DROPPER: case ENCHANTING_TABLE: case FURNACE: + case BLAST_FURNACE: case HOPPER: case JUKEBOX: case LEVER: