From cd3620aaba51e9f9ba20d74db024ad075bba35e2 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sat, 14 May 2022 11:01:15 +0800 Subject: fix map not moving image to player in boss --- features/dungeonMap/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/dungeonMap/index.js b/features/dungeonMap/index.js index b859f1c..bf13099 100644 --- a/features/dungeonMap/index.js +++ b/features/dungeonMap/index.js @@ -263,10 +263,10 @@ class DungeonMap extends Feature { renderLibs.scizzor(x + 2, y + 2, size - 4, size - 4) if (this.currDungeonBossImage) { - this.currDungeonBossImage.image.draw(x, y, size, size) + this.currDungeonBossImage.image.draw(x + xOff, y + yOff, size, size) } else { GlStateManager.func_179094_E(); //GlStateManager.push() - Renderer.translate(x, y, 1) + Renderer.translate(x + xOff, y + yOff, 1) GlStateManager.func_179152_a(size / 128, size / 128, 1); //GlStateManager.scale() GlStateManager.func_179131_c(1.0, 1.0, 1.0, 1.0); // GlStateManager.color() Client.getMinecraft().field_71460_t.func_147701_i().func_148250_a(this.mapData, true); -- cgit