mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-23 21:49:50 +00:00
Fixed sparks not rotating properly along the player's Y position. Thanks @Flaxbeard.
This commit is contained in:
1 parent
d3029b11c2
commit
277b85e7cf
1 file changed
+1
-1
@@ -53,7 +53,7 @@ public class RenderSpark extends RenderEntity {
|
||||
|
||||
float r = 180.0F - renderManager.playerViewY;
|
||||
GL11.glRotatef(r, 0.0F, 1.0F, 0.0F);
|
||||
GL11.glRotatef(25F * (float) Math.sin(time / 15), 1F, 0F, 0F);
|
||||
GL11.glRotatef(-renderManager.playerViewX, 1F, 0F, 0F);
|
||||
func_77026_a(tessellator, iicon);
|
||||
int upgrade = spark.getUpgrade() - 1;
|
||||
if(upgrade >= 0 && upgrade < ItemSparkUpgrade.worldIcons.length) {
|
||||
|
||||
Reference in new issue
Block a user