Change missed usage of deprecated methods from #1383

This commit is contained in:
altrisi authored and GitHub committed 2022-05-17 21:55:22 +02:00
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);
}