Skip to content

Commit

Permalink
Probably fix for #1665
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 22, 2017
1 parent f6fc5c2 commit 27c7c5c
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -21,7 +21,8 @@ public static boolean describes(dObject item) {
&& (((dItem) item).getItemStack().getType() == Material.POTION
|| (NMSHandler.getVersion().isAtLeast(NMSVersion.v1_9_R2)
&& (((dItem) item).getItemStack().getType() == Material.SPLASH_POTION
|| ((dItem) item).getItemStack().getType() == Material.LINGERING_POTION)));
|| ((dItem) item).getItemStack().getType() == Material.LINGERING_POTION
|| ((dItem) item).getItemStack().getType() == Material.TIPPED_ARROW)));
}

public static ItemPotion getFrom(dObject _item) {
Expand Down

0 comments on commit 27c7c5c

Please sign in to comment.