Skip to content

Commit

Permalink
fix Biome fix
Browse files Browse the repository at this point in the history
bump version
  • Loading branch information
Wyvest committed Apr 7, 2023
1 parent adaa20d commit c8a0a75
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
mod_name = EvergreenHUD
mod_id = evergreenhud
mod_version = 1.0.0-beta3
mod_version = 1.0.0-beta4

polyfrost.defaults.loom=0

Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/cc/polyfrost/evergreenhud/hud/Biome.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Biome: Config(Mod("Biome", ModType.HUD, "/assets/evergreenhud/evergreenhud
override fun getText(example: Boolean): String {
val player = mc.thePlayer ?: return "Unknown"

return mc.theWorld.getBiomeGenFromCoords(player.getPosition()).biomeName
return mc.theWorld.getBiomeGenForCoords(player.position).biomeName
}

}
Expand Down
1 change: 1 addition & 0 deletions versions/1.12.2-1.8.9.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
net.minecraft.util.math.BlockPos net.minecraft.util.BlockPos
net.minecraft.world.World getBiomeProvider() getWorldChunkManager()
net.minecraft.world.World getBiome() getBiomeGenForCoords()
net.minecraft.network.play.server.SPacketEntityStatus net.minecraft.network.play.server.S19PacketEntityStatus
net.minecraft.util.Vec3 x xCoord
net.minecraft.util.Vec3 y yCoord
Expand Down

0 comments on commit c8a0a75

Please sign in to comment.