mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-05 17:16:41 +00:00
Switch UUID in PlexPlayer to an actual UUID and fix notes
This commit is contained in:
@ -50,7 +50,7 @@ public class FreezeCMD extends PlexCommand
|
||||
}
|
||||
}
|
||||
|
||||
Punishment punishment = new Punishment(UUID.fromString(punishedPlayer.getUuid()), getUUID(sender));
|
||||
Punishment punishment = new Punishment(punishedPlayer.getUuid(), getUUID(sender));
|
||||
punishment.setCustomTime(false);
|
||||
LocalDateTime date = LocalDateTime.now();
|
||||
punishment.setEndDate(date.plusMinutes(5));
|
||||
|
Reference in New Issue
Block a user