Legacy4J

Legacy4J

192k Downloads

[Bug/Glitch] StackOverflowError in LegacyTip.getHeight();

Jab125 opened this issue ยท 1 comments

commented

Legacy4J Version

1.20.2-1.7.2

Mod Loader Version

Fabric Loader 0.15.11

Bug/Glitch Occurrence Context

Open the skins menu:
Error:

java.lang.StackOverflowError: Unexpected error
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)
	at wily.legacy.client.LegacyTip.getHeight(LegacyTip.java:101)

and so on.

Crash Report

No response

What happened wrong?

recursive call of getHeight()
also, getWidth() also seems to call itself, but never gets to because of getHeight() crashing the game first.

commented

i blame my yarn mappings