From 747de4cab7b98170c9e613767c80a786d097b091 Mon Sep 17 00:00:00 2001 From: ReneZeidler Date: Sat, 1 Feb 2014 07:24:29 -0800 Subject: [PATCH] That check is also done in the LocalSession, let the LocalSession decide what to do with multiple packets. --- .../java/com/sk89q/worldedit/bukkit/CUIChannelListener.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/bukkit/CUIChannelListener.java b/src/main/java/com/sk89q/worldedit/bukkit/CUIChannelListener.java index e846e6d1c..f3cd85bf8 100644 --- a/src/main/java/com/sk89q/worldedit/bukkit/CUIChannelListener.java +++ b/src/main/java/com/sk89q/worldedit/bukkit/CUIChannelListener.java @@ -39,10 +39,6 @@ public class CUIChannelListener implements PluginMessageListener { @Override public void onPluginMessageReceived(String channel, Player player, byte[] message) { LocalSession session = plugin.getSession(player); - if (session.hasCUISupport()) { // Already initialized - return; - } - String text = new String(message, UTF_8_CHARSET); session.handleCUIInitializationMessage(text); }