Dieser Commit ist enthalten in:
Ursprung
4fc7f9e1e9
Commit
5859264f6b
@ -102,6 +102,11 @@ public class Core extends JavaPlugin{
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
setSqlConfig();
|
||||
errorHandler = new ErrorHandler();
|
||||
if(VERSION > 15)
|
||||
crashDetector = new CrashDetector();
|
||||
|
||||
SWCommandUtils.init((SWTypeMapperCreator<TypeMapper<Object>, CommandSender, Object>) (mapper, tabCompleter) -> new TypeMapper<Object>() {
|
||||
@Override
|
||||
public Object map(CommandSender commandSender, String[] previousArguments, String s) {
|
||||
@ -115,11 +120,6 @@ public class Core extends JavaPlugin{
|
||||
});
|
||||
Bukkit.getScheduler().runTaskTimer(this, TabCompletionCache::invalidateOldEntries, 20, 20);
|
||||
|
||||
setSqlConfig();
|
||||
errorHandler = new ErrorHandler();
|
||||
if(VERSION > 15)
|
||||
crashDetector = new CrashDetector();
|
||||
|
||||
Bukkit.getPluginManager().registerEvents(new PlayerJoinedEvent(), this);
|
||||
Bukkit.getPluginManager().registerEvents(new ChattingEvent(), this);
|
||||
Bukkit.getPluginManager().registerEvents(new WorldLoadEvent(), this);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren