Jump to content

Update for rocket.launcher.dragon

Pending 1.4.3

IlIDestroyerIlI
IlIDestroyerIlI

Posted

Change this 
if (rocketMagazine != null && heldItem.info.shortname == "rocket.launcher" && rocketsSent > 0)
to 
if (rocketMagazine != null && 
    (heldItem.info.shortname == "rocket.launcher" || heldItem.info.shortname == "rocket.launcher.dragon") && 
    rocketsSent > 0)

and 
change this 
if (rocketsInInventory < 1 || item.info.shortname != "rocket.launcher" || item.condition <= 0) return;
to 
if (rocketsInInventory < 1 || 
    (item.info.shortname != "rocket.launcher" && item.info.shortname != "rocket.launcher.dragon") || 
    item.condition <= 0) return;

so players can also use the dragon rocket launcher ! 

Love the plugin btw ! 

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.5m
Total downloads
Customers
11.2k
Customers served
Files Sold
160.8k
Total sales
Payments
3.5m
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.