-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make MINECRAFT public in CraftScheduler
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
patches/server/0004-Make-MINECRAFT-public-in-CraftScheduler.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: MrHua269 <[email protected]> | ||
Date: Wed, 7 Feb 2024 10:02:37 +0000 | ||
Subject: [PATCH] Make MINECRAFT public in CraftScheduler | ||
|
||
|
||
diff --git a/src/main/java/org/bukkit/craftbukkit/scheduler/CraftScheduler.java b/src/main/java/org/bukkit/craftbukkit/scheduler/CraftScheduler.java | ||
index addac448a9cb7bd95e70a477b71a2d63be257204..e840a61bb05565db017532b10dd311ff7bc0b588 100644 | ||
--- a/src/main/java/org/bukkit/craftbukkit/scheduler/CraftScheduler.java | ||
+++ b/src/main/java/org/bukkit/craftbukkit/scheduler/CraftScheduler.java | ||
@@ -47,7 +47,7 @@ import org.bukkit.scheduler.BukkitWorker; | ||
*/ | ||
public class CraftScheduler implements BukkitScheduler { | ||
|
||
- static Plugin MINECRAFT = new MinecraftInternalPlugin(); | ||
+ public static Plugin MINECRAFT = new MinecraftInternalPlugin(); | ||
/** | ||
* The start ID for the counter. | ||
*/ |