fix the plugin not working

This commit is contained in:
alexcrea 2024-03-25 02:21:13 +01:00
parent 4b5ecf301a
commit 21c39421b9

View file

@ -15,7 +15,7 @@ abstract class AbstractMaterialGroup(private val name: String) {
* Get if a material is allowed following the group policy
*/
open fun contain(mat : Material): Boolean {
return mat in includedMaterial
return mat in getMaterials()
}
/**