mappings
This commit is contained in:
1 parent
ede1872803
commit
a5dd6ed1c2
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -5,8 +5,8 @@ org.gradle.jvmargs=-Xmx1G
|
||||
# check these on https://fabricmc.net/use
|
||||
# or better: https://modmuss50.me/fabric.html
|
||||
minecraft_version=20w46a
|
||||
yarn_mappings=20w46a+build.11
|
||||
loader_version=0.10.7
|
||||
yarn_mappings=20w46a+build.15
|
||||
loader_version=0.10.8
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.4.17+v201111
|
||||
|
||||
@@ -113,7 +113,7 @@ public class Scoreboards {
|
||||
else
|
||||
{
|
||||
String critetionName = lv.get(1).evalValue(c).getString();
|
||||
criterion = ScoreboardCriterion.createStatCriterion(critetionName).orElse(null);
|
||||
criterion = ScoreboardCriterion.getOrCreateStatCriterion(critetionName).orElse(null);
|
||||
if (criterion==null)
|
||||
{
|
||||
throw new InternalExpressionException("Unknown scoreboard criterion: "+critetionName);
|
||||
@@ -124,7 +124,7 @@ public class Scoreboards {
|
||||
if (objective != null)
|
||||
return LazyValue.FALSE;
|
||||
|
||||
scoreboard.addObjective(objectiveName, criterion, new LiteralText(objectiveName), criterion.getCriterionType());
|
||||
scoreboard.addObjective(objectiveName, criterion, new LiteralText(objectiveName), criterion.getDefaultRenderType());
|
||||
return LazyValue.TRUE;
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user