mirror of
https://github.com/plexusorg/Module-Guilds.git
synced 2025-08-09 05:53:13 +00:00
fix prefix sub command and add clearing guild prefixes
fix some issues with hover events in prefixes
This commit is contained in:
parent
f709e76dd5
commit
8bcf28f120
9 changed files with 129 additions and 40 deletions
|
@ -19,6 +19,7 @@ import java.util.UUID;
|
|||
@Entity("guilds")
|
||||
public class Guild
|
||||
{
|
||||
private final UUID guildUuid;
|
||||
private final String name;
|
||||
private final UUID owner;
|
||||
private final ZonedDateTime createdAt;
|
||||
|
@ -34,6 +35,6 @@ public class Guild
|
|||
|
||||
public static Guild create(Player player, String guildName)
|
||||
{
|
||||
return new Guild(guildName, player.getUniqueId(), ZonedDateTime.now(ZoneId.of(Plex.get().config.getString("server.timezone"))));
|
||||
return new Guild(UUID.randomUUID(), guildName, player.getUniqueId(), ZonedDateTime.now(ZoneId.of(Plex.get().config.getString("server.timezone"))));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue