* Fixed clothing blacklists affecting all multislots instead of the specified multislot
This commit is contained in:
LoafyLemon 2023-07-15 18:14:02 +01:00
parent 01be33b5ee
commit ece2690030

View File

@ -247,7 +247,7 @@ init python:
if slot in self.multislots: if slot in self.multislots:
for k, v in self.states.items(): for k, v in self.states.items():
if any((x in k) for x in self.multislots): if v[0] and v[0].type == slot:
v[0], v[2] = None, True v[0], v[2] = None, True
else: else:
self.states[slot][0], self.states[slot][2] = None, True self.states[slot][0], self.states[slot][2] = None, True