Fixed visual issue when displaying female characters in tutorial island's character customisation

This commit is contained in:
Mihoshika
2023-08-28 05:27:35 +00:00
committed by Ryan
parent 032cb2e900
commit 1d775bd2d3
@@ -246,6 +246,14 @@ public final class CharacterDesign {
private static void changeGender(Player player, boolean male) {
player.setAttribute("male", male);
setVarp(player, 1262, male ? 1 : 0);
if (male) {
setVarbit(player, 5008, 1);
setVarbit(player, 5009, 0);
}
else {
setVarbit(player, 5008, 0);
setVarbit(player, 5009, 1);
}
reset(player);
}