fix: add invulnerability flag to cached user in map, close #728

This commit is contained in:
William committed 2024-12-13 17:50:41 +00:00
1 parent 5d63899aff
commit 65aa93c3da
3 files changed
+8 -2

No files matched your search

@@ -45,6 +45,7 @@ import java.util.concurrent.CompletableFuture;
public abstract class OnlineUser extends User implements Teleportable, CommandUser {
protected final HuskHomes plugin;
protected boolean markedAsInvulnerable = false;
protected OnlineUser(@NotNull UUID uuid, @NotNull String username, @NotNull HuskHomes plugin) {
super(uuid, username);