assuming fixes #1354
This commit is contained in:
1 parent
e9656a2ba8
commit
3e419d1557
1 file changed
+4
@@ -123,6 +123,10 @@ public class CarpetServer // static for now - easier to handle all around the co
|
|||||||
|
|
||||||
public static void registerCarpetCommands(CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment)
|
public static void registerCarpetCommands(CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment)
|
||||||
{
|
{
|
||||||
|
if (settingsManager == null) // bootstrap dev initialization check
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
settingsManager.registerCommand(dispatcher);
|
settingsManager.registerCommand(dispatcher);
|
||||||
extensions.forEach(e -> {
|
extensions.forEach(e -> {
|
||||||
SettingsManager sm = e.customSettingsManager();
|
SettingsManager sm = e.customSettingsManager();
|
||||||
|
|||||||
Reference in new issue
Block a user