mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 12:51:09 -05:00
Account for empty NameTagVisibility and CollisionRule strings. Fixes #190.
This commit is contained in:
parent
630f7c27a4
commit
55859fa1ae
1 changed files with 2 additions and 0 deletions
|
@ -702,11 +702,13 @@ public class MagicValues {
|
|||
register(SmokeEffectData.NORTH, 7);
|
||||
register(SmokeEffectData.NORTH_WEST, 8);
|
||||
|
||||
register(NameTagVisibility.ALWAYS, "");
|
||||
register(NameTagVisibility.ALWAYS, "always");
|
||||
register(NameTagVisibility.NEVER, "never");
|
||||
register(NameTagVisibility.HIDE_FOR_OTHER_TEAMS, "hideForOtherTeams");
|
||||
register(NameTagVisibility.HIDE_FOR_OWN_TEAM, "hideForOwnTeam");
|
||||
|
||||
register(CollisionRule.ALWAYS, "");
|
||||
register(CollisionRule.ALWAYS, "always");
|
||||
register(CollisionRule.NEVER, "never");
|
||||
register(CollisionRule.PUSH_OTHER_TEAMS, "pushOtherTeams");
|
||||
|
|
Loading…
Reference in a new issue