Skip to content

Commit

Permalink
fix: resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
LangArthur authored and BilliAlpha committed Jan 22, 2025
1 parent 300a361 commit 5fe810e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,4 @@ nbactions.xml
target/

# Linux temp files
*~

# gradle cache (might be a vscode extension which produce this)
.gradle
*~
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public void onInteract(PlayerInteractEntityEvent e) {
Player target = (Player) targetEntity;
Player source = e.getPlayer();
PlayerInfo targetInfo = getPlayerInfo(target.getUniqueId());
if (targetInfo == null) return; // it can happens when the player model is used for an NPC
if (targetInfo == null) return; // it can happen when the player model is used for an NPC
String description = ChatColor.WHITE+targetInfo.getName()+ChatColor.GRAY+": * "+ChatColor.ITALIC+
targetInfo.getDescription("Une personne comme une autre") +ChatColor.RESET+ChatColor.GRAY+" *";
source.sendMessage(ChatColor.translateAlternateColorCodes('&', description));
Expand Down

0 comments on commit 5fe810e

Please sign in to comment.