Untitled

mail@pastecode.io avatar
unknown
java
2 years ago
336 B
1
Indexable
Never
    @SubscribeEvent
    public void onClientTick(TickEvent.ClientTickEvent event) {
        if (event.side == LogicalSide.CLIENT && event.phase == TickEvent.Phase.END) {
            if (Minecraft.getInstance().level != null) {
                WaterWalkAbility.update(Minecraft.getInstance().player);
            }
        }
    }