mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-14 14:25:11 +01:00
You right click to open doors.
This commit is contained in:
parent
bddf2cad05
commit
d189ab058b
@ -24,8 +24,7 @@ public class DoorPermission extends ListeningPermission {
|
||||
|
||||
@PermissionHandler
|
||||
public void onInteract(PlayerInteractEvent event) {
|
||||
|
||||
if (event.getAction() != Action.RIGHT_CLICK_BLOCK && event.getAction() != Action.LEFT_CLICK_BLOCK)
|
||||
if (event.getAction() != Action.LEFT_CLICK_BLOCK)
|
||||
return;
|
||||
|
||||
Player player = event.getPlayer();
|
||||
|
Loading…
Reference in New Issue
Block a user