CanaryModTeam / CanaryLib

The CanaryMod API Library
http://canarymod.net
28 stars 22 forks source link

Kit creation requires no extra permissions #36

Closed ejm closed 9 years ago

ejm commented 9 years ago

Any player who can access kits can create them, which, is obviously a huge issue. There should be at least a permission check required to create kits which duplicate your whole inventory.

ejm commented 9 years ago

https://github.com/CanaryModTeam/CanaryLib/blob/master/src/main/java/net/canarymod/commandsys/commands/system/KitCommand.java#L179

This is the spot in question

damagefilter commented 9 years ago

Needs refactoring for subcommands

darkdiplomat commented 9 years ago

https://github.com/CanaryModTeam/CanaryLib/commit/ca21b9f175fac7e1d5e8aae55df037540f34f2e6 (Fixed only in bleeding)