Implemented custom player overlays.

This commit is contained in:
Luis C.M committed 2022-05-16 05:45:00 -05:00
1 parent d6b1dba9bc
commit 9a0aae50e0
6 files changed
+137 -2

No files matched your search

@@ -526,6 +526,10 @@ public class ScriptPlayer<T extends EntityPlayerMP> extends ScriptLivingBase<T>
Server.sendData((EntityPlayerMP)this.entity, EnumPacketClient.OVERLAY_CLOSE, id, new NBTTagCompound());
}
public void setPlayerOverlay(String texture) {
Server.sendData((EntityPlayerMP)this.entity, EnumPacketClient.PLAYER_OVERLAY, texture);
}
public IQuest[] getFinishedQuests() {
PlayerQuestData data = this.getData().questData;
List<IQuest> quests = new ArrayList();