mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 04:57:27 +00:00
Added getSkills and setSkills functions to ScriptDBCPlayer
This commit is contained in:
1 parent
934d5a69d6
commit
e9a4471cd2
1 file changed
+7
@@ -193,6 +193,13 @@ public class ScriptDBCPlayer<T extends EntityPlayerMP> extends ScriptPlayer<T>{
|
||||
return Integer.parseInt(player.getEntityData().getCompoundTag("PlayerPersisted").getString("jrmcSSltX").replace("TR",""));
|
||||
}
|
||||
|
||||
public void setSkills(String skills){
|
||||
player.getEntityData().getCompoundTag("PlayerPersisted").setString("jrmcSSlts",skills);
|
||||
}
|
||||
public String getSkills(){
|
||||
return player.getEntityData().getCompoundTag("PlayerPersisted").getString("jrmcSSlts");
|
||||
}
|
||||
|
||||
public byte getDBCClass(){
|
||||
return player.getEntityData().getCompoundTag("PlayerPersisted").getByte("jrmcClass");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user