Don't null out scores after objectives.

This commit is contained in:
md_5 2013-03-23 20:58:21 +11:00
parent 73aaf58009
commit 04fb1df3e1

View File

@ -120,10 +120,6 @@ public class ServerConnector extends PacketHandler
{ {
user.ch.write( new PacketCEScoreboardObjective( objective.getName(), objective.getValue(), (byte) 1 ) ); user.ch.write( new PacketCEScoreboardObjective( objective.getName(), objective.getValue(), (byte) 1 ) );
} }
for ( Score score : user.serverSentScoreboard.getScores() )
{
user.ch.write( new PacketCFScoreboardScore( score.getItemName(), (byte) 1, null, 0 ) );
}
for ( Team team : user.serverSentScoreboard.getTeams() ) for ( Team team : user.serverSentScoreboard.getTeams() )
{ {
user.ch.write( PacketD1Team.destroy( team.getName() ) ); user.ch.write( PacketD1Team.destroy( team.getName() ) );