You right click to open doors.

This commit is contained in:
Brianna 2020-09-01 14:11:26 -05:00
parent bddf2cad05
commit d189ab058b

View File

@ -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();