mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 22:32:04 +00:00
fix missing method parameter types
This commit is contained in:
@@ -37,7 +37,7 @@ public class HMCLeavesDataProvider extends ExternalDataProvider {
|
|||||||
try {
|
try {
|
||||||
worldBlockType = new WrappedReturningMethod<>((Class<Object>) Class.forName("io.github.fisher2911.hmcleaves.data.BlockData"), "worldBlockType");
|
worldBlockType = new WrappedReturningMethod<>((Class<Object>) Class.forName("io.github.fisher2911.hmcleaves.data.BlockData"), "worldBlockType");
|
||||||
apiInstance = getApiInstance(Class.forName("io.github.fisher2911.hmcleaves.api.HMCLeavesAPI"));
|
apiInstance = getApiInstance(Class.forName("io.github.fisher2911.hmcleaves.api.HMCLeavesAPI"));
|
||||||
setCustomBlock = new WrappedReturningMethod<>((Class<Object>) apiInstance.getClass(), "setCustomBlock");
|
setCustomBlock = new WrappedReturningMethod<>((Class<Object>) apiInstance.getClass(), "setCustomBlock", Location.class, String.class, boolean.class);
|
||||||
Object config = getLeavesConfig(apiInstance.getClass());
|
Object config = getLeavesConfig(apiInstance.getClass());
|
||||||
blockDataMap = getMap(config, "blockDataMap");
|
blockDataMap = getMap(config, "blockDataMap");
|
||||||
itemDataField = getMap(config, "itemSupplierMap");
|
itemDataField = getMap(config, "itemSupplierMap");
|
||||||
|
|||||||
Reference in New Issue
Block a user