mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2026-04-02 22:16:16 +00:00
Hold onto ServerImplementation instance (#149)
This commit is contained in:
@@ -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