Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 11:00:04 +01:00
Preloader is null for spigot users
Dieser Commit ist enthalten in:
Ursprung
51eee01eef
Commit
664cd4e33d
@ -33,8 +33,10 @@ 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);
|
||||||
|
if (preloader != null) {
|
||||||
preloader.update(actor, world);
|
preloader.update(actor, world);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
NEVER {};
|
NEVER {};
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren