mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 01:27:27 +00:00
Removed playerLevel parameter from PlayerData
This commit is contained in:
1 parent
03e4400b2e
commit
d2fe832508
1 file changed
-2
@@ -29,7 +29,6 @@ public class PlayerData implements IExtendedEntityProperties{
|
||||
public PlayerItemGiverData itemgiverData = new PlayerItemGiverData();
|
||||
public PlayerMailData mailData = new PlayerMailData();
|
||||
public PlayerDataScript scriptData;
|
||||
public int playerLevel = 0;
|
||||
public DataTimers timers = new DataTimers(this);
|
||||
|
||||
public EntityNPCInterface editingNpc;
|
||||
@@ -233,7 +232,6 @@ public class PlayerData implements IExtendedEntityProperties{
|
||||
PlayerData data = new PlayerData();
|
||||
if (data.player == null) {
|
||||
data.player = player;
|
||||
data.playerLevel = player.experienceLevel;
|
||||
data.scriptData = new PlayerDataScript(player);
|
||||
NBTTagCompound compound = loadPlayerData(player.getPersistentID().toString());
|
||||
if (compound.hasNoTags()) {
|
||||
|
||||
Reference in new issue
Block a user