if (hasSlot(slotName)) {
final RPSlot rpslot = getSlot(slotName);
for (final RPObject object : rpslot) {
if (object instanceof Stackable<?>) {
// found another stackable
@SuppressWarnings("rawtypes")
final Stackable other = (Stackable<?>) object;
if (other.isStackable(stackEntity)) {
return slotName;
}
}
}
}