mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 06:24:06 +09:00
crafting: mutual exclusiveness for $WALL tag
This commit is contained in:
@@ -360,6 +360,7 @@ abstract class GameItem(val originalID: ItemID) : Comparable<GameItem>, Cloneabl
|
||||
}
|
||||
|
||||
fun hasTag(s: String) = tags.contains(s)
|
||||
fun hasAllTags(s: List<String>) = tags.containsAll(s)
|
||||
|
||||
|
||||
companion object {
|
||||
|
||||
Reference in New Issue
Block a user