

def _setup_book(self):
    book = self.inventory.active_slot
    if (book.item_id != 386):
        return None
    if (self.nbt is None):
        book.nbt = nbt.TagCompound()
    return book

dataset/ETHPy150Open SpockBotMC/SpockBot/spockbot/plugins/helpers/interact.py InteractPlugin._setup_book/VarMisuse@35/41 `book`->`self`