Change missed usage of deprecated methods from #1383
This commit is contained in:
1 parent
9daf72b348
commit
668f309f23
1 file changed
+1
-1
@@ -1080,7 +1080,7 @@ public abstract class CommandArgument
|
||||
protected ArgumentType<?> getArgumentType(CarpetScriptHost host) throws CommandSyntaxException
|
||||
{
|
||||
if (argumentTypeSupplier != null) return argumentTypeSupplier.get();
|
||||
CommandBuildContext registryAccess = new CommandBuildContext(host.getScriptServer().server.registryAccess());
|
||||
CommandBuildContext registryAccess = new CommandBuildContext(host.scriptServer().server.registryAccess());
|
||||
return argumentTypeSupplierEx.get(registryAccess);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user