Fixed strange punishment saving error.

This commit is contained in:
Brianna 2020-03-12 10:15:26 -04:00
parent ce91cf8372
commit 6f6f44b021
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ public class UltimateModeration extends SongodaPlugin {
row.get("duration").asLong(),
row.get("reason").asString(),
UUID.fromString(row.get("victim").asString()),
UUID.fromString(row.get("punisher").asString()),
row.get("punisher").asObject() == null ? null : UUID.fromString(row.get("punisher").asString()),
row.get("expiration").asLong(),
playerUUID);
PlayerPunishData playerPunishData = getPunishmentManager().getPlayer(playerUUID);