mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-20 13:30:27 -07:00
Trying to patch up some junky code in the management server
This commit is contained in:
parent
5c8774de89
commit
d23b53ba6f
8 changed files with 18 additions and 22 deletions
|
|
@ -49,7 +49,7 @@ public final class PunishmentStorage {
|
|||
return;
|
||||
}
|
||||
long end = Long.MAX_VALUE;
|
||||
if (duration != -1l && duration != 0L) {
|
||||
if (duration != -1L && duration != 0L) {
|
||||
end = System.currentTimeMillis() + duration;
|
||||
} else if (duration == 0L) {
|
||||
end = 0L;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue