mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
Define scoreboard name as JobsDummy to avoid conflicts
This commit is contained in:
parent
743de06281
commit
a7a0c7b239
@ -78,7 +78,7 @@ public class CMIScoreboardManager {
|
||||
|
||||
Class<?> IScoreboardCriterias = getNMSClass("ScoreboardBaseCriteria");
|
||||
Constructor<?> IScoreboardCriteriasConst = IScoreboardCriterias.getConstructor(String.class);
|
||||
Object IScoreboardCriteria = IScoreboardCriteriasConst.newInstance("dummy");
|
||||
Object IScoreboardCriteria = IScoreboardCriteriasConst.newInstance("JobsDummy");
|
||||
|
||||
Object obj = m.invoke(boards, objName, IScoreboardCriteria);
|
||||
Class<?> p1 = getNMSClass("PacketPlayOutScoreboardObjective");
|
||||
@ -100,7 +100,7 @@ public class CMIScoreboardManager {
|
||||
|
||||
Class<?> IScoreboardCriterias = getNMSClass("ScoreboardBaseCriteria");
|
||||
Constructor<?> IScoreboardCriteriasConst = IScoreboardCriterias.getConstructor(String.class);
|
||||
Object IScoreboardCriteria = IScoreboardCriteriasConst.newInstance("dummy");
|
||||
Object IScoreboardCriteria = IScoreboardCriteriasConst.newInstance("JobsDummy");
|
||||
|
||||
Object obj = m.invoke(boards, objName, IScoreboardCriteria);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user