Avoid switch on material in previous commit
See 9c7e65d17a4ed6c3d73935027bdbb9ea9d3c2965 for further info
This commit is contained in:
parent
4768df7366
commit
7dcb59b8e2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user