SteamWar/BauSystem
Archiviert
13
0

Fix sign editing
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2022-08-23 20:51:10 +02:00
Ursprung 0ef5d1601d
Commit a31c99d03d

Datei anzeigen

@ -56,8 +56,8 @@ public class RegionListener implements Listener {
private static final Reflection.FieldAccessor<Integer> blockPosY = Reflection.getField(baseBlockPosition, int.class, 1);
private static final Reflection.FieldAccessor<Integer> 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);