refactor limit access to built-in registries
This commit is contained in:
1 parent
8dd08d5cb1
commit
bd5dfdbf9f
25 files changed
+243
-176
No files matched your search
@@ -60,7 +60,7 @@ public class BlockArgument extends Argument
|
||||
}
|
||||
if (acceptString && v1 instanceof StringValue)
|
||||
{
|
||||
return new BlockArgument(BlockValue.fromString(v1.getString(), c.registryAccess()), 1 + offset);
|
||||
return new BlockArgument(BlockValue.fromString(v1.getString(), c.level()), 1 + offset);
|
||||
}
|
||||
if (v1 instanceof BlockValue)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user