aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2023-08-31 02:44:27 +1000
committerGitHub <noreply@github.com>2023-08-30 18:44:27 +0200
commitae35ab03ca4dbf7a902106f15f6e537fa86c0480 (patch)
treebda802c9fa69e134acc69b7859bf97582852b5ed /src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java
parent6f25e8bf8f24bcbf5575888492e0a557e5d01deb (diff)
downloadnotenoughupdates-ae35ab03ca4dbf7a902106f15f6e537fa86c0480.tar.gz
notenoughupdates-ae35ab03ca4dbf7a902106f15f6e537fa86c0480.tar.bz2
notenoughupdates-ae35ab03ca4dbf7a902106f15f6e537fa86c0480.zip
move taming, beastmaster, and minion overlay information to be gathered when running /pv (#785)
* use pv to steal taming level and beast master for pet overlay * update profile data load event to when /pv is ran * make minion helper say to use /pv if data is null * make error message show * make it so you can still pv if error in event
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java b/src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java
index e96043fa..9611f197 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java
@@ -109,6 +109,7 @@ public class ApiUtil {
}
public void updateProfileData(String playerUuid) {
+ if (true) return;
if (!updateTasks.getOrDefault(playerUuid, CompletableFuture.completedFuture(null)).isDone()) return;
String uuid = Minecraft.getMinecraft().thePlayer.getUniqueID().toString().replace("-", "");