aboutsummaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-14 11:01:15 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-14 11:01:15 +0800
commitcd3620aaba51e9f9ba20d74db024ad075bba35e2 (patch)
tree83821e7718d475c5897ed401875ec557ec41924b /features
parente764fb628f6905a6008e022a6e9571c34062127b (diff)
downloadSoopyV2-cd3620aaba51e9f9ba20d74db024ad075bba35e2.tar.gz
SoopyV2-cd3620aaba51e9f9ba20d74db024ad075bba35e2.tar.bz2
SoopyV2-cd3620aaba51e9f9ba20d74db024ad075bba35e2.zip
fix map not moving image to player in boss
Diffstat (limited to 'features')
-rw-r--r--features/dungeonMap/index.js4
1 files 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);