Skip to content

Commit 97465f0

Browse files
Remove debug content
1 parent 1b32c2e commit 97465f0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/me/crafter/mc/lockettepro/BlockPlayerListener.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ public void onPlayerQuickLockChest(PlayerInteractEvent event){
6767
Utils.updateLineByPlayer(newsign, 1, player);
6868
}
6969
// 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 {
7474
Utils.updateLineWithTime(newsign, false); // set created to now
75-
// }
76-
// }
75+
}
76+
}
7777
} else if (!locked && LocketteProAPI.isOwnerUpDownLockedDoor(block, player)){
7878
// Not locked, (is locked door nearby), is owner of locked door nearby
7979
Utils.removeASign(player);

0 commit comments

Comments
 (0)