mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 10:47:30 +00:00
Fixed setRace
This commit is contained in:
1 parent
55370b26a0
commit
e194bd71cd
1 file changed
+1
-1
@@ -789,7 +789,7 @@ public class ScriptDBCPlayer<T extends EntityPlayerMP> extends ScriptPlayer<T> i
|
||||
}
|
||||
|
||||
public void setRace(byte race) {
|
||||
if (race < 0 || race > 1)
|
||||
if (race < 0 || race > 5)
|
||||
return;
|
||||
|
||||
player.getEntityData().getCompoundTag("PlayerPersisted").setByte("jrmcRace", race);
|
||||
|
||||
Reference in new issue
Block a user