Remove withDisallowUnsafeRead from PaperweightUserExtension#minecraftVersion
This is ok to read during configuration, as long as it's after the dev bundle dependency is set.
This commit is contained in:
parent
6495ae0a8d
commit
b26c85b988
1 changed files with 1 additions and 1 deletions
|
@ -81,5 +81,5 @@ abstract class PaperweightUserExtension(
|
|||
*/
|
||||
val minecraftVersion: Provider<String> = objects.property<String>().value(
|
||||
setup.map { it.minecraftVersion }
|
||||
).withDisallowChanges().withDisallowUnsafeRead()
|
||||
).withDisallowChanges()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue