File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/me/crafter/mc/lockettepro Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -67,13 +67,13 @@ public void onPlayerQuickLockChest(PlayerInteractEvent event){
67
67
Utils .updateLineByPlayer (newsign , 1 , player );
68
68
}
69
69
// Cleanups - Expiracy
70
- // if (Config.isLockExpire()){
71
- // if (player.hasPermission("lockettepro.noexpire")){
72
- // Utils.updateLineWithTime(newsign, true); // set created to -1 (no expire)
73
- // } else {
70
+ if (Config .isLockExpire ()){
71
+ if (player .hasPermission ("lockettepro.noexpire" )){
72
+ Utils .updateLineWithTime (newsign , true ); // set created to -1 (no expire)
73
+ } else {
74
74
Utils .updateLineWithTime (newsign , false ); // set created to now
75
- // }
76
- // }
75
+ }
76
+ }
77
77
} else if (!locked && LocketteProAPI .isOwnerUpDownLockedDoor (block , player )){
78
78
// Not locked, (is locked door nearby), is owner of locked door nearby
79
79
Utils .removeASign (player );
You can’t perform that action at this time.
0 commit comments