Skip to content

Commit

Permalink
misc: experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
MATRIX-feather committed Sep 27, 2024
1 parent 8b2b3af commit 6a5fab8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ public class CustomEntries
/**
* This should always present for player disguise!
*/
public static final RegistryKey<GameProfile> PROFILE = RegistryKey.of("profile", new GameProfile(UUID.randomUUID(), "sample"));
public static final RegistryKey<GameProfile> PROFILE = RegistryKey.of("profile", new GameProfile(UUID.randomUUID(), "sample")).doRequireNonNull();

/**
* Profile handled by external sources
*/
public static final RegistryKey<Boolean> PROFILE_LISTED = RegistryKey.of("profile_listed", false);

public static final RegistryKey<String> DISGUISE_NAME = RegistryKey.of("disguise_name", "").doRequireNonNull();
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,14 @@ root:
# Should piglin brutes ignore players' disguises?
piglin_brute_ignore_disguises: true

# Should we hide disguised players from the TAB list?
# (EXPERIMENTAL) Should we hide disguised players from the TAB list?
# Note that if there's some other plugin that operates the TAB list, this feature may not work as expected
# Also this will cause problems with chat signing, you may want to disable it first.
hide_disguised_players_in_tab: false

# Server renderer options
server_renderer:
# Should we show player disguises in the TAB list?
# (EXPERIMENTAL) Should we show player disguises in the TAB list?
show_player_disguises_in_tab: false

# Health scale options
Expand Down

0 comments on commit 6a5fab8

Please sign in to comment.