SPIGOT-4024: Improve interactions of Vanilla tab completion, and also reloads
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -31,10 +31,10 @@
|
||||
+ public java.util.Queue<Runnable> processQueue = new java.util.concurrent.ConcurrentLinkedQueue<Runnable>();
|
||||
+ public int autosavePeriod;
|
||||
+ public File bukkitDataPackFolder;
|
||||
+ public CommandDispatcher vanillaCommandDispatcher;
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
+ public MinecraftServer(OptionSet options, Proxy proxy, DataFixer datafixer, CommandDispatcher commanddispatcher, YggdrasilAuthenticationService yggdrasilauthenticationservice, MinecraftSessionService minecraftsessionservice, GameProfileRepository gameprofilerepository, UserCache usercache) {
|
||||
+ this.commandDispatcher = commanddispatcher; // CraftBukkit
|
||||
this.ac = new ResourceManager(EnumResourcePackType.SERVER_DATA);
|
||||
this.resourcePackRepository = new ResourcePackRepository(ResourcePackLoader::new);
|
||||
this.ag = new CraftingManager();
|
||||
@@ -43,7 +43,7 @@
|
||||
this.am = new CustomFunctionData(this);
|
||||
this.d = proxy;
|
||||
- this.commandDispatcher = commanddispatcher;
|
||||
+ // this.commandDispatcher = commanddispatcher; // CraftBukkit - moved up
|
||||
+ this.commandDispatcher = this.vanillaCommandDispatcher = commanddispatcher; // CraftBukkit
|
||||
this.U = yggdrasilauthenticationservice;
|
||||
this.V = minecraftsessionservice;
|
||||
this.W = gameprofilerepository;
|
||||
|
||||
Reference in New Issue
Block a user