Added storeAsClone function. Made some fields in Script Entity, NPC, and Player public because of the refactoring.

This commit is contained in:
luisc committed 2021-10-18 07:02:19 -05:00
1 parent 72f2c3c60a
commit 15bfbcdbd1
4 files changed
+15 -2

No files matched your search

@@ -29,7 +29,7 @@ import noppes.npcs.scripted.interfaces.IPlayer;
import noppes.npcs.util.ValueUtil;
public class ScriptPlayer<T extends EntityPlayerMP> extends ScriptLivingBase<T> implements IPlayer {
protected T player;
public T player;
public ScriptPlayer(T player){
super(player);
this.player = player;