Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Level loading didn't read spawn from file. #226

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions source/Craft.Net.Anvil/Level.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,15 @@ public Vector3 Spawn
SpawnZ = (int)value.Z;
}
}
private int SpawnX { get; set; }
private int SpawnY { get; set; }
private int SpawnZ { get; set; }
/// <summary>

[TagName("SpawnX")]
public int SpawnX { get; set; }
[TagName("SpawnY")]
public int SpawnY { get; set; }
[TagName("SpawnZ")]
public int SpawnZ { get; set; }

/// <summary>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8 spaces to an indent - not tabs, please.

/// True if the level is currently raining.
/// </summary>
[TagName("raining")]
Expand Down