Jump to content

Unable to generate entities

Not a Bug 1.0.61

the-bandit
the-bandit

Posted

hello David, I had a problem with the plugin. Unable to appear entities. I think it's due to the stack. When you split the item, it changes the name of the new entity

I've temporarily corrected the error on line 79, if that's helpful.

            if ( item.name == null && item.skin != null && item.skin != 0 && item.info != null && item.info.shortname != null )
            {
                var def = placeable.FirstOrDefault(_placeable => _placeable.Value.BaseItem == item.info.shortname && _placeable.Value.SkinID == item.skin);
                if ( def.Key != null ) 
                    item.name = def.Key;
            }

 

David

Posted

Changed Status from Pending to Not a Bug

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
155.8k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.