forked from 2009Scape/Server
Fixed visual issue when displaying female characters in tutorial island's character customisation
This commit is contained in:
parent
032cb2e900
commit
1d775bd2d3
1 changed files with 8 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue