Fix info adaption
This commit is contained in:
parent
4a9f859f4a
commit
affaead26d
39196
javascript/classes.js
39196
javascript/classes.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user