mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-24 00:26:16 +02:00
fix the plugin not working
This commit is contained in:
parent
4b5ecf301a
commit
21c39421b9
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ abstract class AbstractMaterialGroup(private val name: String) {
|
||||||
* Get if a material is allowed following the group policy
|
* Get if a material is allowed following the group policy
|
||||||
*/
|
*/
|
||||||
open fun contain(mat : Material): Boolean {
|
open fun contain(mat : Material): Boolean {
|
||||||
return mat in includedMaterial
|
return mat in getMaterials()
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue