Skip to content

Commit

Permalink
By cutting down that username to 15 chars the namemanger failed to de…
Browse files Browse the repository at this point in the history
…tect the shopowner when created.
  • Loading branch information
Feli499 committed Feb 22, 2024
1 parent 81e7053 commit 2a3e720
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -27,6 +27,6 @@ public static void onPreShopCreation(PreShopCreationEvent event) {
} else
name = NameManager.getNameFor(player);

event.setOwnerName(name.substring(0, Math.min(name.length(), 15)));
event.setOwnerName(name);
}
}

0 comments on commit 2a3e720

Please sign in to comment.