MaterialPart Bracket Handler
kindlich opened this issue ยท 1 comments
-
https://github.com/The-Acronym-Coders/ContentTweaker/blob/41cfabff0b6592b498c8ae72f08e6859272122bf/src/main/java/com/teamacronymcoders/contenttweaker/modules/materials/MaterialPartBracketHandler.java#L54
Change the sublist totokens.sublist(2, 5) -
Also:
https://github.com/The-Acronym-Coders/BASE/blob/98432a9fe9936c040ac803082e04f5a287bc2742/src/main/java/com/teamacronymcoders/base/materialsystem/MaterialSystem.java#L94-L97
Change thetoUpperCase(Locale.US)totoLowerCase(Locale.US)
Why?
- As of now
<materialPart:platinum:gear>becomes"platinum:"as sublist's upper boundary is exclusive - When you register the MaterialPart as
material:PARTyou cannot find it in the map as you format your whole query tomaterial:part