3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-10-03 20:21:05 +02:00

Fix access to world data

Dieser Commit ist enthalten in:
TheMeinerLP 2023-06-18 15:03:13 +02:00 committet von Phillipp Glanz
Ursprung e1ca1782d7
Commit fcfdc03606

Datei anzeigen

@ -141,7 +141,7 @@ public final class PaperweightFaweAdapter extends FaweAdapter<net.minecraft.nbt.
public PaperweightFaweAdapter() throws NoSuchFieldException, NoSuchMethodException {
this.parent = new PaperweightAdapter();
if (this.parent.isFolia()) {
Method getCurrentWorldData = ServerLevel.class.getDeclaredMethod(
Method getCurrentWorldData = ServerLevel.class.getSuperclass().getDeclaredMethod(
"getCurrentWorldData"
);
getCurrentWorldData.setAccessible(true);