Skip to content

Commit

Permalink
Version 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
falkirks committed Aug 18, 2015
1 parent b27018c commit 324bcd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Specter
version: 0.2
version: 0.3
author: Falkirks
main: specter\Specter
api: [1.8.0]
Expand Down
2 changes: 1 addition & 1 deletion src/specter/Specter.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Specter extends PluginBase{
public function onEnable(){
$this->saveDefaultConfig();
$this->interface = new SpecterInterface($this);
$this->getServer()->addInterface($this->interface);
$this->getServer()->getNetwork()->registerInterface($this->interface);
}
public function onCommand(CommandSender $sender, Command $command, $label, array $args){
if(isset($args[0])){
Expand Down

0 comments on commit 324bcd5

Please sign in to comment.