mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-14 19:31:58 +01:00
Update GuidedWaypointProvider.java
This commit is contained in:
parent
5e16260876
commit
f021d5b855
@ -112,7 +112,7 @@ public class GuidedWaypointProvider implements WaypointProvider {
|
||||
@EventHandler(ignoreCancelled = true)
|
||||
public void onPlayerInteract(PlayerInteractEvent event) {
|
||||
if (!event.getPlayer().equals(player) || event.getAction() == Action.PHYSICAL
|
||||
|| event.getAction() == Action.RIGHT_CLICK_ENTITY
|
||||
|| event.getAction() == Action.RIGHT_CLICK_AIR
|
||||
|| event.getAction() == Action.RIGHT_CLICK_BLOCK
|
||||
|| event.getClickedBlock() == null)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user