Fix info adaption

This commit is contained in:
ThisIsALegitUsername 2023-03-01 03:19:44 +00:00
parent 4a9f859f4a
commit affaead26d
3 changed files with 19600 additions and 19600 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -30,7 +30,7 @@ public class Info extends RenderMod {
}
public int getWidth() {
return 5 + mc.fontRendererObj.getStringWidth(" X: Biome:" + Math.max(getPositions()[0], Math.max(getPositions()[1], getPositions()[2])));
return 5 + mc.fontRendererObj.getStringWidth(" X: Biome:" + mc.theWorld.getBiomeGenForCoords(new BlockPos(getPositions()[0], getPositions()[1], getPositions()[2])).biomeName + Math.max(getPositions()[0], Math.max(getPositions()[1], getPositions()[2])));
}
public int getHeight() {