Please sign in to comment.
Prefer Material enum over ItemType lookup when parsing TargetMatchers.
This will make Bukkit's names take priority when trying to identify a block or item, since ItemType lookup will return, e.g. "birch_door_item" for "birch_door", even though there's a block with the name "birch_door". Note that using int ids is always preferable when possible since there's no confusion there. Fixes WORLDGUARD-3790.
- Loading branch information...
Showing with 5 additions and 5 deletions.