aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornea <romangraef@gmail.com>2022-04-16 20:39:14 +0200
committernea <romangraef@gmail.com>2022-04-16 20:39:14 +0200
commit5c2a057a26e5d077928afda0acffa15bf883486c (patch)
treecb93e949642b5702c3e13747d43ece6e14adc797
parent45b14ae84dcbbe828b2fdbcb002acf9d526d3a48 (diff)
downloadNotEnoughUpdates-crafts/mobdrops.tar.gz
NotEnoughUpdates-crafts/mobdrops.tar.bz2
NotEnoughUpdates-crafts/mobdrops.zip
moving partscrafts/mobdrops
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/entityviewer/EntityViewer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/entityviewer/EntityViewer.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/entityviewer/EntityViewer.java
index e761356c..e9075e47 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/entityviewer/EntityViewer.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/entityviewer/EntityViewer.java
@@ -164,6 +164,7 @@ public class EntityViewer extends GuiScreen {
EntityLivingBase stack = entity;
while (true) {
+ stack.ticksExisted = Minecraft.getMinecraft().thePlayer.ticksExisted;
GuiInventory.drawEntityOnScreen(posX, (int) (posY - bottomOffset * scale), scale, posX - mouseX, (int) (posY - stack.getEyeHeight() * scale - mouseY), stack);
bottomOffset += stack.getMountedYOffset();
if (!(stack.riddenByEntity instanceof EntityLivingBase)) {