reapply issue is fixed, remove debug
This commit is contained in:
parent
79f0355288
commit
0f1b512dac
@ -318,12 +318,6 @@ public abstract class PunishPage extends ShopPageBase<Punish, PunishShop>
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Bukkit.broadcastMessage("Remaining: " + punishment.GetRemaining());
|
|
||||||
Bukkit.broadcastMessage("In hours: " + (long) Math.floor(punishment.GetRemaining() / UtilTime.TimeUnit.HOURS.getMilliseconds()));
|
|
||||||
Bukkit.broadcastMessage("Is permanent: " + ((punishment.GetRemaining() < 0) ? "yes" : "no"));
|
|
||||||
|
|
||||||
if ('c' != 'c')
|
|
||||||
{
|
|
||||||
_reason = punishment.GetReason() + " - Reapplied";
|
_reason = punishment.GetReason() + " - Reapplied";
|
||||||
|
|
||||||
if (punishment.GetRemaining() == -1)
|
if (punishment.GetRemaining() == -1)
|
||||||
@ -335,7 +329,6 @@ public abstract class PunishPage extends ShopPageBase<Punish, PunishShop>
|
|||||||
doPunishment(punishment.GetCategory(), punishment.GetSeverity(), (long) Math.floor(punishment.GetRemaining() / UtilTime.TimeUnit.HOURS.getMilliseconds()));
|
doPunishment(punishment.GetCategory(), punishment.GetSeverity(), (long) Math.floor(punishment.GetRemaining() / UtilTime.TimeUnit.HOURS.getMilliseconds()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
protected void removePunishment(Punishment punishment)
|
protected void removePunishment(Punishment punishment)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user