Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
🐜 fix stupidity (ant emoji)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tryflle committed Nov 19, 2023
1 parent 68acac7 commit fcd62b1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ public void velo(me.tryfle.stormy.events.PacketEvent e) {
accessorPacket.setMotionY((int) (packet.getMotionY() * vertical.getInput()/100));
e.setPacket(accessorPacket);
}


@SubscribeEvent
public void onPacketReceive(PacketEvent.Receive e) {
if (e.getPacket() instanceof S12PacketEntityVelocity s12 && velomodes.getMode() == velomode.Cancel) {
if (Minecraft.getMinecraft().thePlayer != null && s12.getEntityID() == Minecraft.getMinecraft().thePlayer.entityId) {
Expand Down

0 comments on commit fcd62b1

Please sign in to comment.