Skip to content

Commit

Permalink
support for empty names with %empty%
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxikle committed Aug 13, 2023
1 parent ce96729 commit fea76d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/dev/foxikle/customnpcs/NPC.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public NPC(CustomNPCs plugin, MinecraftServer minecraftServer, ServerLevel world
this.bootsItem = bootsItem;
this.clickable = interactable;
this.handItem = handItem;
this.name = name;
this.name = name.replace("%empty%", "");
this.profile = gameProfile;
this.world = spawnLoc.getWorld();
this.uuid = uuid;
Expand Down

0 comments on commit fea76d2

Please sign in to comment.