Skip to content

Commit

Permalink
fix MultiPlace
Browse files Browse the repository at this point in the history
  • Loading branch information
ManInMyVan committed Sep 25, 2024
1 parent cc9273d commit 6eb9926
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 6eb9926

Please sign in to comment.