1.7.10 Files

Files added
This commit is contained in:
KAMKEEL committed 2018-09-13 12:03:28 -04:00
1 parent 393ea9b463
commit a31efb2dc3
1768 files changed
+84831

No files matched your search

@@ -0,0 +1,29 @@
package noppes.npcs.util;
import java.util.UUID;
import noppes.npcs.entity.EntityNPCInterface;
import com.mojang.authlib.GameProfile;
public class GameProfileAlt extends GameProfile{
private static final UUID id = UUID.randomUUID();
public EntityNPCInterface npc;
public GameProfileAlt() {
super(null, "customnpc");
}
@Override
public String getName() {
if(npc == null)
return super.getName();
return npc.getCommandSenderName();
}
@Override
public UUID getId(){
if(npc == null)
return id;
return npc.getPersistentID();
}
}