Skip to content

Enum for BWMItems.MATERIAL

primetoxinz requested to merge Koward:material-fix into master

Created by: Koward

It bothered me for a while. BWMItems.MATERIAL now uses an enum instead of strings, so we get back compile-time check that the item exists (less mistakes!) and autocompletion with IDEs. I also replaced all old usages of BWMItems.MATERIAL with ItemMaterial.getMaterial(...).

Merge request reports