diff options
author | nea <romangraef@gmail.com> | 2022-04-16 20:39:14 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-04-16 20:39:14 +0200 |
commit | 5c2a057a26e5d077928afda0acffa15bf883486c (patch) | |
tree | cb93e949642b5702c3e13747d43ece6e14adc797 /src/main | |
parent | 45b14ae84dcbbe828b2fdbcb002acf9d526d3a48 (diff) | |
download | NotEnoughUpdates-5c2a057a26e5d077928afda0acffa15bf883486c.tar.gz NotEnoughUpdates-5c2a057a26e5d077928afda0acffa15bf883486c.tar.bz2 NotEnoughUpdates-5c2a057a26e5d077928afda0acffa15bf883486c.zip |
moving partscrafts/mobdrops
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/entityviewer/EntityViewer.java | 1 |
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)) { |