Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi, Casper! I just wanted to report a bug I found; when using this plugin alongside your Item Pop Up, it throws an error message when you click on a location to go anywhere; "Type Error: Cannot read property "id" of null."

This happens even in Fast Travel's demo, once I add the item pop up plugin. Before adding it, the Fast Travel works perfectly fine! 

Hi, this is actually a bug in Item Popup, not Fast Travel. I will fix this asap, thank you for the bug report. If you want to fix it yourself you can search for alias_CGMZItemPopup_GameParty_gainItem in CGMZ Item Popup's js file and replace the function with this:

const alias_CGMZItemPopup_GameParty_gainItem = Game_Party.prototype.gainItem;
Game_Party.prototype.gainItem = function(item, amount, includeEquip) {
    alias_CGMZItemPopup_GameParty_gainItem.apply(this, arguments);
    if(item && amount > 0) {
        const type = (DataManager.isItem(item)) ? "item" : (DataManager.isWeapon(item)) ? "weapon" : (DataManager.isArmor(item)) ? "armor" : "invalid";
        const id = item.id;
        if(this.CGMZItemPopup_shouldPop(id, type)) {
            $cgmzTemp.addItemPopupToQueue({type: type, id: id});
        }
    }
};

It works! You're a genius, thank you so much! ٩(^ᗜ^ )و ´-