Skip to content

Commit

Permalink
Merge pull request #1740 from ManInMyVan/fix/multiplace
Browse files Browse the repository at this point in the history
fix MultiPlace
  • Loading branch information
SamB440 authored Sep 25, 2024
2 parents bde44f5 + 6eb9926 commit b27678c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void onBlockPlace(final BlockPlace place) {

@Override
public void onPacketReceive(PacketReceiveEvent event) {
if (WrapperPlayClientPlayerFlying.isFlying(event.getPacketType())) {
if (WrapperPlayClientPlayerFlying.isFlying(event.getPacketType()) && !player.packetStateData.lastPacketWasTeleport && !player.packetStateData.lastPacketWasOnePointSeventeenDuplicate) {
hasPlaced = false;
}
}
Expand Down

0 comments on commit b27678c

Please sign in to comment.