Skip to content

Commit

Permalink
Revert "Solution for Matocolotoe#32, for now at least"
Browse files Browse the repository at this point in the history
This reverts commit 7c81dfc.
  • Loading branch information
harryirl committed May 26, 2022
1 parent 1bebce5 commit 3e83cb4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/ch/njol/skript/aliases/ItemType.java
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,6 @@ public boolean isOfType(@Nullable BlockState block) {
public boolean isOfType(@Nullable Block block) {
if (block == null)
return isOfType(Material.AIR, null);
if (block.getType() == Material.valueOf("BREWING_STAND"))
return this.getRandom().getType() == Material.valueOf("BREWING_STAND_ITEM");
if (block.getType() == Material.valueOf("NETHER_WARTS"))
return this.getRandom().getType() == Material.valueOf("NETHER_STALK");
return isOfType(block.getState());
}

Expand Down

0 comments on commit 3e83cb4

Please sign in to comment.