if (!user.hasAccess(cell.getId()) || !user.getPermissions(cell.getId()).contains(Permission.OPEN_DOOR)) {
e.getPlayer().sendMessage(String.format(cellsModule.getMessages().noAccess, Permission.OPEN_DOOR.getUserFriendlyName()));
e.setCanceled(true);
return;
}
<BUG>Prison.getInstance().getPlatform().toggleDoor(e.getClicked());
</BUG>
} catch (Exception e1) {
e1.printStackTrace();
}

if (!user.hasAccess(cell.getId()) || !user.getPermissions(cell.getId()).contains(Permission.OPEN_DOOR)) {
e.getPlayer().sendMessage(String.format(cellsModule.getMessages().noAccess, Permission.OPEN_DOOR.getUserFriendlyName()));
e.setCanceled(true);
return;
}
Prison.getInstance().getPlatform().toggleDoor(adjustedLoc);
} catch (Exception e1) {
e1.printStackTrace();
