mirror of
https://github.com/barkeser2002/Tenet.git
synced 2026-09-25 06:00:13 +03:00
11 lines
753 B
Diff
11 lines
753 B
Diff
--- ../src-base/minecraft/net/minecraft/scoreboard/ScoreboardSaveData.java
|
|
+++ ../src-work/minecraft/net/minecraft/scoreboard/ScoreboardSaveData.java
|
|
@@ -65,6 +65,7 @@
|
|
{
|
|
NBTTagCompound nbttagcompound = p_96498_1_.getCompoundTagAt(i);
|
|
ScorePlayerTeam scoreplayerteam = this.theScoreboard.createTeam(nbttagcompound.getString("Name"));
|
|
+ if(scoreplayerteam.getMembershipCollection().isEmpty()) continue; // Paper - Don't save empty scoreboard teams to scoreboard.dat
|
|
scoreplayerteam.setTeamName(nbttagcompound.getString("DisplayName"));
|
|
scoreplayerteam.setNamePrefix(nbttagcompound.getString("Prefix"));
|
|
scoreplayerteam.setNameSuffix(nbttagcompound.getString("Suffix"));
|