mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-15 19:34:49 +00:00
NpcAPI:
-Added millisToTime(long) and ticksToTime(long) functions to return time formatted strings from long values. IPlayerQuestData: -Added last completed time functions for repeating quests. IQuest: -Added repeat functions for repeating quests. ServerCloneController: -Fixed cloned NPCs having identical UUIDs.
This commit is contained in:
1 parent
73ceeab907
commit
a895c8bd24
7 files changed
+105
-1
No files matched your search
@@ -546,4 +546,12 @@ public class NpcAPI extends AbstractNpcAPI {
|
||||
public ISkinOverlay createSkinOverlay(String texture) {
|
||||
return new SkinOverlay(texture);
|
||||
}
|
||||
|
||||
public String millisToTime(long millis) {
|
||||
return NoppesUtilServer.millisToTime(millis);
|
||||
}
|
||||
|
||||
public String ticksToTime(long ticks) {
|
||||
return this.millisToTime(ticks * 50);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user