What's wrong with it?
What is the fail ?
- Doesn't force require the default gun.
- Creates unnecessary packages.
- Modifies datablocks during gameplay(instead he should be creating the projectile manually in ::onFire since he wants the projectile to vary).
- Commands can be used by anyone and are easily spammable.
- Mixes server and client code.
- A package named BuildBot is probably already used by Nexus' Build Bot.
- When anyone uses /BuildWall, /SpammerBuild, or /BuildStairs then it'll actually cause the host to do those, not the person that used the command. This is also because he's mixed server and client code.
- Overwrites the default gun's damage type.
- The item for CgunImage is set to BowItem(it's also like this with the default gun, but that doesn't mean you should continue the problem).
- Overwrites gunImage::onFire.