[SPIGOT-456] Scoreboard Team are brokens Created: 20/Jan/15 Updated: 25/Jan/15 Resolved: 25/Jan/15 |
|
| Status: | Closed |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Likaos | Assignee: | Thinkofname |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | scoreboard, spigot | ||
| Plugin: | Custom |
| Description |
|
I've updated Spigot to the last build, all my game based on scoreboard teams are broken, It come from the team comparaison I use My code http://puu.sh/eMIyJ/d168d08570.png Never changed since 1.6.4, I register new team in the board, and compare them to the player team, but there as you can see with this puush, the object ref is not the same. Here is the pushhttp://puu.sh/eMHPV/6b818dd600.png What's wrong ? Revert before the last patch and all rework again |
| Comments |
| Comment by Black Hole [ 21/Jan/15 ] |
|
The CraftBukkit implementation of the scoreboard components changed. The cause of your problem is that CraftTeam is missing an equals() method. As a workaround until it's fixed you could compare the names of the teams. |