mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Break for loop in GeyserBukkitBlockPlaceListener when a player is found (#538)
No need to keep searching when a player is found.
This commit is contained in:
parent
0c60af66b2
commit
d63d0def5a
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ public class GeyserBukkitBlockPlaceListener implements Listener {
|
|||
session.sendUpstreamPacket(placeBlockSoundPacket);
|
||||
session.setLastBlockPlacePosition(null);
|
||||
session.setLastBlockPlacedId(null);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue