mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-09 04:09:54 +01:00
SPIGOT-173: Fix missed renames in EntityHuman
This commit is contained in:
parent
3433eeadc2
commit
85e9ba780f
@ -1,5 +1,5 @@
|
||||
--- ../work/decompile-8eb82bde//net/minecraft/server/EntityHuman.java 2014-12-07 11:26:13.489010423 +0000
|
||||
+++ src/main/java/net/minecraft/server/EntityHuman.java 2014-12-07 11:25:50.801010669 +0000
|
||||
--- ../work/decompile-8eb82bde/net/minecraft/server/EntityHuman.java 2014-12-10 16:27:47.832575157 +0000
|
||||
+++ src/main/java/net/minecraft/server/EntityHuman.java 2014-12-10 16:27:27.556575377 +0000
|
||||
@@ -8,13 +8,27 @@
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
@ -112,14 +112,14 @@
|
||||
this.addScore(i);
|
||||
- Collection collection = this.getScoreboard().getObjectivesForCriteria(IScoreboardCriteria.f);
|
||||
+ // CraftBukkit - Get our scores instead
|
||||
+ Collection<ScoreboardScore> collection = this.world.getServer().getScoreboardManager().getScoreboardScores(IScoreboardCriteria.e, this.getName(), new java.util.ArrayList<ScoreboardScore>());
|
||||
+ Collection<ScoreboardScore> collection = this.world.getServer().getScoreboardManager().getScoreboardScores(IScoreboardCriteria.f, this.getName(), new java.util.ArrayList<ScoreboardScore>());
|
||||
+
|
||||
|
||||
if (entity instanceof EntityHuman) {
|
||||
this.b(StatisticList.B);
|
||||
- collection.addAll(this.getScoreboard().getObjectivesForCriteria(IScoreboardCriteria.e));
|
||||
+ // CraftBukkit - Get our scores instead
|
||||
+ this.world.getServer().getScoreboardManager().getScoreboardScores(IScoreboardCriteria.d, this.getName(), collection);
|
||||
+ this.world.getServer().getScoreboardManager().getScoreboardScores(IScoreboardCriteria.e, this.getName(), collection);
|
||||
collection.addAll(this.e(entity));
|
||||
} else {
|
||||
this.b(StatisticList.z);
|
||||
|
Loading…
Reference in New Issue
Block a user