Add /edithome, use instant for timestamps, new locales

This commit is contained in:
William committed 2022-08-16 00:58:26 +01:00
1 parent eddae1051c
commit a91128ca3d
24 files changed
+793 -205

No files matched your search

@@ -2,12 +2,13 @@ package net.william278.huskhomes.player;
import org.jetbrains.annotations.NotNull;
import java.time.Instant;
import java.util.UUID;
/**
* Represents data about a player on the server
*/
public record UserData(@NotNull User user, int homeSlots, boolean ignoringTeleports, long rtpCooldown) {
public record UserData(@NotNull User user, int homeSlots, boolean ignoringTeleports, @NotNull Instant rtpCooldown) {
@NotNull
public UUID getUserUuid() {