mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Rename variables
This commit is contained in:
parent
516effa81d
commit
735d182468
3 changed files with 27 additions and 27 deletions
|
|
@ -87,7 +87,7 @@ namespace MinecraftClient.Mapping
|
|||
if (world.GetDimension() == null)
|
||||
return (int)Math.Floor(Y / Chunk.SizeY); // old version, always start at zero
|
||||
else
|
||||
return (int)Math.Floor((Y - world.GetDimension().min_y) / Chunk.SizeY);
|
||||
return (int)Math.Floor((Y - world.GetDimension().minY) / Chunk.SizeY);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue