Skip to content

Commit

Permalink
fixed NickName Config
Browse files Browse the repository at this point in the history
  • Loading branch information
GrafDimenzio committed May 23, 2021
1 parent dfe09f4 commit da4078d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pets/Pet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public Pet(Player player, PetConfiguration configuration) :
Player.DisplayInfo = configuration.Name.Replace("\\n", "\n");

if (!PluginClass.PetPlugin.Config.ShowOwnerName)
Player.RemoveDisplayInfo(PlayerInfoArea.Role);
Player.RemoveDisplayInfo(PlayerInfoArea.Nickname);

if (!PluginClass.PetPlugin.Config.ShowRole)
Player.RemoveDisplayInfo(PlayerInfoArea.Role);
Expand Down

0 comments on commit da4078d

Please sign in to comment.