Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-07 00:22:51 +02:00
Preloader is null for spigot users
Dieser Commit ist enthalten in:
Ursprung
51eee01eef
Commit
664cd4e33d
@ -33,7 +33,9 @@ public @interface Preload {
|
|||||||
public void preload(Actor actor, InjectedValueAccess context) {
|
public void preload(Actor actor, InjectedValueAccess context) {
|
||||||
World world = context.injectedValue(Key.of(EditSession.class)).get().getWorld();
|
World world = context.injectedValue(Key.of(EditSession.class)).get().getWorld();
|
||||||
Preloader preloader = Fawe.imp().getPreloader(true);
|
Preloader preloader = Fawe.imp().getPreloader(true);
|
||||||
preloader.update(actor, world);
|
if (preloader != null) {
|
||||||
|
preloader.update(actor, world);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren