Skip to content

Commit

Permalink
fix name skins not working
Browse files Browse the repository at this point in the history
  • Loading branch information
MoriyaShiine committed Jul 12, 2022
1 parent 0f3d8e3 commit 4c0b6f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public void mobTick() {
}

if (this.hasCustomName()) {
switch (getCustomName().toString().toLowerCase(Locale.ROOT)) {
switch (getCustomName().getString().toLowerCase(Locale.ROOT)) {
case "doctor4t" -> setRatType(Type.DOCTOR4T);
case "ratater" -> setRatType(Type.RATATER);
case "rat kid", "hat kid" -> setRatType(Type.RAT_KID);
Expand Down

0 comments on commit 4c0b6f1

Please sign in to comment.