Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 00:00:28 +01:00
restoring providers is not simple, removing todo
Dieser Commit ist enthalten in:
Ursprung
ffa696b963
Commit
2fe0ed2ca1
@ -116,7 +116,6 @@ public class BukkitViaLoader implements ViaPlatformLoader {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void unload() {
|
public void unload() {
|
||||||
// todo restore providers
|
|
||||||
for (Listener listener : listeners) {
|
for (Listener listener : listeners) {
|
||||||
HandlerList.unregisterAll(listener);
|
HandlerList.unregisterAll(listener);
|
||||||
}
|
}
|
||||||
|
@ -81,7 +81,6 @@ public class SpongeViaLoader implements ViaPlatformLoader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void unload() {
|
public void unload() {
|
||||||
// todo restore providers
|
|
||||||
listeners.forEach(Sponge.getEventManager()::unregisterListeners);
|
listeners.forEach(Sponge.getEventManager()::unregisterListeners);
|
||||||
listeners.clear();
|
listeners.clear();
|
||||||
tasks.forEach(Via.getPlatform()::cancelTask);
|
tasks.forEach(Via.getPlatform()::cancelTask);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren