Fix GIFHandler

This commit is contained in:
Martin Prokoph
2024-07-07 18:55:21 +02:00
parent 3b3009fefb
commit 22d3d621da

View File

@@ -38,7 +38,7 @@ public class PictureSignClientGameEvents {
}
@SubscribeEvent
public static void endClientTick(ClientTickEvent.Post event) {
GIFHandler.gifPlayers.forEach(((identifier, handler) -> handler.tick()));
GIFHandler.gifHandlers.forEach(((identifier, handler) -> handler.tick()));
if (!BINDING_COPY_SIGN.isPressed()) return;
BINDING_COPY_SIGN.setPressed(false);
if (client.player == null || client.world == null || client.crosshairTarget == null || client.crosshairTarget.getType() != HitResult.Type.BLOCK) return;