Switch UUID in PlexPlayer to an actual UUID and fix notes

This commit is contained in:
2022-04-06 22:55:01 -05:00
parent 00d00eb4e5
commit 5012d0478b
11 changed files with 70 additions and 43 deletions

View File

@ -33,7 +33,7 @@ public abstract class PunishedPlayerEvent extends PlayerEvent implements Cancell
*/
protected PunishedPlayerEvent(PlexPlayer punishedPlayer)
{
super(Bukkit.getPlayer(UUID.fromString(punishedPlayer.getUuid())));
super(Bukkit.getPlayer(punishedPlayer.getUuid()));
this.punishedPlayer = punishedPlayer;
}
}