Fix incorrect method params

This commit is contained in:
dordsor21 2021-10-19 14:34:35 +01:00
parent 252abf862b
commit 4ee61a93c8
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -465,10 +465,10 @@ public class PaperweightRegen extends Regenerator<ChunkAccess, ProtoChunk, Level
areaLazyField.setAccessible(true); areaLazyField.setAccessible(true);
Method initAreaFactoryMethod = Layers.class.getDeclaredMethod( Method initAreaFactoryMethod = Layers.class.getDeclaredMethod(
Refraction.pickName("getDefaultLayer", "a"), Refraction.pickName("getDefaultLayer", "a"),
long.class,
boolean.class, boolean.class,
int.class, int.class,
int.class int.class,
LongFunction.class
); );
initAreaFactoryMethod.setAccessible(true); initAreaFactoryMethod.setAccessible(true);