File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/main/java/org/spongepowered/api
world/generation/config/flat Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3737 * The known {@link CommandTreeNodeType types} available on the vanilla client.
3838 */
3939@ SuppressWarnings ("unused" )
40- @ RegistryScopes (scopes = RegistryScope .GAME )
40+ @ RegistryScopes (scopes = RegistryScope .ENGINE )
4141public final class CommandTreeNodeTypes {
4242
4343 // @formatter:off
@@ -134,10 +134,10 @@ private CommandTreeNodeTypes() {
134134 }
135135
136136 public static Registry <CommandTreeNodeType <?>> registry () {
137- return Sponge .game ().registry (RegistryTypes .COMMAND_TREE_NODE_TYPE );
137+ return Sponge .server ().registry (RegistryTypes .COMMAND_TREE_NODE_TYPE );
138138 }
139139
140140 private static <T extends CommandTreeNode <T >> DefaultedRegistryReference <CommandTreeNodeType <T >> key (final ResourceKey location ) {
141- return RegistryKey .of (RegistryTypes .COMMAND_TREE_NODE_TYPE , location ).asDefaultedReference (Sponge ::game );
141+ return RegistryKey .of (RegistryTypes .COMMAND_TREE_NODE_TYPE , location ).asDefaultedReference (Sponge ::server );
142142 }
143143}
Original file line number Diff line number Diff line change 3737 * <!-- This file is automatically generated. Any manual changes will be overwritten. -->
3838 */
3939@ SuppressWarnings ("unused" )
40- @ RegistryScopes (scopes = RegistryScope .GAME )
40+ @ RegistryScopes (scopes = RegistryScope .ENGINE )
4141public final class FlatGeneratorConfigs {
4242
4343 public static final DefaultedRegistryReference <FlatGeneratorConfig > BOTTOMLESS_PIT = FlatGeneratorConfigs .key (ResourceKey .minecraft ("bottomless_pit" ));
@@ -62,10 +62,10 @@ private FlatGeneratorConfigs() {
6262 }
6363
6464 public static Registry <FlatGeneratorConfig > registry () {
65- return Sponge .game ().registry (RegistryTypes .FLAT_GENERATOR_CONFIG );
65+ return Sponge .server ().registry (RegistryTypes .FLAT_GENERATOR_CONFIG );
6666 }
6767
6868 private static DefaultedRegistryReference <FlatGeneratorConfig > key (final ResourceKey location ) {
69- return RegistryKey .of (RegistryTypes .FLAT_GENERATOR_CONFIG , location ).asDefaultedReference (Sponge ::game );
69+ return RegistryKey .of (RegistryTypes .FLAT_GENERATOR_CONFIG , location ).asDefaultedReference (Sponge ::server );
7070 }
7171}
You can’t perform that action at this time.
0 commit comments