Avoid switch on material in previous commit

See 9c7e65d17a4ed6c3d73935027bdbb9ea9d3c2965 for further info
This commit is contained in:
md_5 2023-01-12 19:51:51 +11:00
parent 4768df7366
commit 7dcb59b8e2
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -53,12 +53,7 @@ public class CraftMetaMusicInstrument extends CraftMetaItem implements MusicInst
@Override
boolean applicableTo(Material type) {
switch (type) {
case GOAT_HORN:
return true;
default:
return false;
}
return type == Material.GOAT_HORN;
}
@Override