mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2026-10-20 15:27:09 +00:00
Hold onto ServerImplementation instance (#149)
This commit is contained in:
1 parent
c2710459c8
commit
64525691a8
1 file changed
+3
-1
@@ -6,8 +6,10 @@ import me.SuperRonanCraft.BetterRTP.BetterRTP;
|
||||
|
||||
public class FoliaHandler {
|
||||
|
||||
private static final ServerImplementation SERVER_IMPLEMENTATION = new FoliaLib(BetterRTP.getInstance()).getImpl();
|
||||
|
||||
public static ServerImplementation get() {
|
||||
return new FoliaLib(BetterRTP.getInstance()).getImpl();
|
||||
return SERVER_IMPLEMENTATION;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user