mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2024-11-21 11:45:11 +01:00
Update api
This commit is contained in:
parent
54c07b7de9
commit
fa47a8a089
@ -17,6 +17,10 @@ public final class CrazyProvider {
|
||||
}
|
||||
|
||||
static void register(final CrazyAuctions instance) {
|
||||
if (get() != null) {
|
||||
return;
|
||||
}
|
||||
|
||||
CrazyProvider.instance = instance;
|
||||
}
|
||||
|
||||
|
BIN
paper/libs/Cluster-6.5.jar
Normal file
BIN
paper/libs/Cluster-6.5.jar
Normal file
Binary file not shown.
@ -1,5 +1,6 @@
|
||||
package com.ryderbelserion.crazyauctions;
|
||||
|
||||
import com.ryderbelserion.cluster.ClusterPackage;
|
||||
import com.ryderbelserion.crazyauctions.platform.PaperServer;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
@ -10,6 +11,8 @@ public class CrazyAuctionsPaper extends JavaPlugin {
|
||||
@Override
|
||||
public void onEnable() {
|
||||
this.crazyAuctions = new CrazyAuctions(new PaperServer());
|
||||
|
||||
new ClusterPackage(this, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user