Update to Minecraft 1.20.3
By: md_5 <git@md-5.net>
This commit is contained in:
parent
afdb1d9bc3
commit
8398e12b34
256 changed files with 2745 additions and 1911 deletions
|
@ -1,11 +1,11 @@
|
|||
--- a/net/minecraft/server/commands/CommandSchedule.java
|
||||
+++ b/net/minecraft/server/commands/CommandSchedule.java
|
||||
@@ -56,7 +56,7 @@
|
||||
@@ -55,7 +55,7 @@
|
||||
} else {
|
||||
long j = commandlistenerwrapper.getLevel().getGameTime() + (long) i;
|
||||
MinecraftKey minecraftkey = (MinecraftKey) pair.getFirst();
|
||||
- CustomFunctionCallbackTimerQueue<MinecraftServer> customfunctioncallbacktimerqueue = commandlistenerwrapper.getServer().getWorldData().overworldData().getScheduledEvents();
|
||||
+ CustomFunctionCallbackTimerQueue<MinecraftServer> customfunctioncallbacktimerqueue = commandlistenerwrapper.getLevel().serverLevelData.overworldData().getScheduledEvents(); // CraftBukkit - SPIGOT-6667: Use world specific function timer
|
||||
|
||||
((Either) pair.getSecond()).ifLeft((customfunction) -> {
|
||||
((Either) pair.getSecond()).ifLeft((net_minecraft_commands_functions_commandfunction) -> {
|
||||
String s = minecraftkey.toString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue