mirror of
https://github.com/TeamMidnightDust/PictureSign.git
synced 2025-12-13 04:45:10 +01:00
Fix GIFHandler
This commit is contained in:
@@ -38,7 +38,7 @@ public class PictureSignClientGameEvents {
|
|||||||
}
|
}
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public static void endClientTick(ClientTickEvent.Post event) {
|
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;
|
if (!BINDING_COPY_SIGN.isPressed()) return;
|
||||||
BINDING_COPY_SIGN.setPressed(false);
|
BINDING_COPY_SIGN.setPressed(false);
|
||||||
if (client.player == null || client.world == null || client.crosshairTarget == null || client.crosshairTarget.getType() != HitResult.Type.BLOCK) return;
|
if (client.player == null || client.world == null || client.crosshairTarget == null || client.crosshairTarget.getType() != HitResult.Type.BLOCK) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user