mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 06:02:12 -07:00
Move patches to unapplied
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
--- a/net/minecraft/util/thread/BlockableEventLoop.java
|
||||
+++ b/net/minecraft/util/thread/BlockableEventLoop.java
|
||||
@@ -82,6 +82,13 @@
|
||||
runnable.run();
|
||||
}
|
||||
}
|
||||
+ // Paper start
|
||||
+ public void scheduleOnMain(Runnable runnable) {
|
||||
+ // postToMainThread does not work the same as older versions of mc
|
||||
+ // This method is actually used to create a TickTask, which can then be posted onto main
|
||||
+ this.schedule(this.wrapRunnable(runnable));
|
||||
+ }
|
||||
+ // Paper end
|
||||
|
||||
@Override
|
||||
public void schedule(R runnable) {
|
Reference in New Issue
Block a user