diff --git a/BauSystem_Core/src/de/steamwar/bausystem/world/RegionListener.java b/BauSystem_Core/src/de/steamwar/bausystem/world/RegionListener.java index a59e1c0..e5e5cd4 100644 --- a/BauSystem_Core/src/de/steamwar/bausystem/world/RegionListener.java +++ b/BauSystem_Core/src/de/steamwar/bausystem/world/RegionListener.java @@ -56,8 +56,8 @@ public class RegionListener implements Listener { private static final Reflection.FieldAccessor blockPosY = Reflection.getField(baseBlockPosition, int.class, 1); private static final Reflection.FieldAccessor blockPosZ = Reflection.getField(baseBlockPosition, int.class, 2); public RegionListener() { - TinyProtocol.instance.setInFilter((player, channel, packet) -> { - if(!signEditing.contains(player) || !updateSign.isInstance(packet)) + TinyProtocol.instance.addFilter(updateSign, (player, packet) -> { + if(!signEditing.contains(player)) return packet; String[] lines = signText.get(packet);