mirror of
https://github.com/GTNewHorizons/GTNHLib.git
synced 2026-11-26 14:53:14 +00:00
Fix new team data types not being added to old teams (#347)
This commit is contained in:
1 parent
6a147ca3fe
commit
facd5edd1b
1 file changed
+1
-1
@@ -127,8 +127,8 @@ public class TeamDataSaver {
|
||||
ITeamData data = TeamDataRegistry.construct(key);
|
||||
if (data != null && teamData.hasKey(key)) {
|
||||
data.readFromNBT(teamData.getCompoundTag(key));
|
||||
team.putData(key, data);
|
||||
}
|
||||
team.putData(key, data);
|
||||
} catch (Exception ex) {
|
||||
GTNHLib.LOG.error("Error while loading TeamData {} for team {}", key, uuid, ex);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user