mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 04:32:11 -07:00
Add support for bonus chest configuration in WorldCreator (#12344)
This commit is contained in:
@@ -250,7 +250,7 @@
|
||||
+ // Paper start - expose FeatureElement wrapper for GameRules.Type.
|
||||
+ // Chosen over simply adding this to the inheritance to avoid reobf issues with spigot...
|
||||
+ public net.minecraft.world.flag.FeatureElement asFeatureElement() {
|
||||
+ return net.minecraft.world.level.GameRules.Type.this::requiredFeatures;
|
||||
+ return GameRules.Type.this::requiredFeatures;
|
||||
+ }
|
||||
+ // Paper end - expose FeatureElement wrapper for GameRules.Type.
|
||||
}
|
||||
|
Reference in New Issue
Block a user