LukeDarling / iProtector

A PocketMine plugin
20 stars 53 forks source link

Use statement fixes. #2

Closed falkirks closed 10 years ago

falkirks commented 10 years ago

Fixed use statements and implemented CommandExecutor.

LukeDarling commented 10 years ago

Why should it implement CommandExecutor?

falkirks commented 10 years ago

Because that's what commands do.

LukeDarling commented 10 years ago

I don't understand, iProtector doesn't run any commands...

LukeDarling commented 10 years ago

What does implementing it do? It worked fine before.

falkirks commented 10 years ago

If you use onCommand you should implement it. https://github.com/PocketMine/PocketMine-MP/blob/master/src/pocketmine/command/CommandExecutor.php