mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
change .NET version to 4.0
This commit is contained in:
parent
735d182468
commit
3429989527
5 changed files with 9 additions and 17 deletions
|
|
@ -85,7 +85,7 @@ namespace MinecraftClient.Mapping
|
|||
get
|
||||
{
|
||||
if (world.GetDimension() == null)
|
||||
return (int)Math.Floor(Y / Chunk.SizeY); // old version, always start at zero
|
||||
return (int)Math.Floor(Y / Chunk.SizeY); // below 1.16.2, Y coordinate always start from zero
|
||||
else
|
||||
return (int)Math.Floor((Y - world.GetDimension().minY) / Chunk.SizeY);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue