Skip to content

Commit

Permalink
Fix inventory storagecontents check
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Mar 5, 2024
1 parent f1a649e commit 2bc6f7c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -272,7 +272,7 @@ public String toString() {
static {
try {
SUPPORT_ABSTRACT_HORSE = Class.forName("org.bukkit.entity.AbstractHorse") != null;
SUPPORT_GET_STORAGE_CONTENTS = Inventory.class.getMethod("getStorageContents") != null;
SUPPORT_GET_STORAGE_CONTENTS = org.bukkit.inventory.Inventory.class.getMethod("getStorageContents") != null;
} catch (Exception e) {
}
}
Expand Down

0 comments on commit 2bc6f7c

Please sign in to comment.