mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 07:17:27 +00:00
Removed overridden getDimension() function, and an unused HashMap for skin overlays from ScriptPlayer.
This commit is contained in:
1 parent
38e960d475
commit
2895f7a76a
1 file changed
-5
@@ -36,7 +36,6 @@ import noppes.npcs.util.ValueUtil;
|
||||
import java.util.*;
|
||||
|
||||
public class ScriptPlayer<T extends EntityPlayerMP> extends ScriptLivingBase<T> implements IPlayer {
|
||||
public HashMap<Integer, ISkinOverlay> skinOverlays = new HashMap<>();
|
||||
public T player;
|
||||
private PlayerData data;
|
||||
|
||||
@@ -95,10 +94,6 @@ public class ScriptPlayer<T extends EntityPlayerMP> extends ScriptLivingBase<T>
|
||||
player.getFoodStats().addStats(0,saturation-prevSaturation);
|
||||
}
|
||||
|
||||
public int getDimension(){
|
||||
return player.dimension;
|
||||
}
|
||||
|
||||
|
||||
public boolean hasFinishedQuest(int id){
|
||||
PlayerQuestData data = PlayerDataController.instance.getPlayerData(player).questData;
|
||||
|
||||
Reference in new issue
Block a user