Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -412,13 +412,16 @@ public void register() {
final int action = wrapper.get(Types.VAR_INT, 1);
if (action == 6) { // Jump with horse
wrapper.set(Types.VAR_INT, 1, 7);
} else if (action == 0 && !tracker.isOnGround()) { // Start sneaking
}
// elytra fix start
/* else if (action == 0 && !tracker.isOnGround()) { // Start sneaking
final PacketWrapper elytra = PacketWrapper.create(ServerboundPackets1_9.PLAYER_COMMAND, wrapper.user());
elytra.write(Types.VAR_INT, wrapper.get(Types.VAR_INT, 0));
elytra.write(Types.VAR_INT, 8);
elytra.write(Types.VAR_INT, 0);
elytra.scheduleSendToServer(Protocol1_9To1_8.class);
}
} */
// elytra fix end
});
}
});
Expand Down