Skip to content

Commit 324bcd5

Browse files
committed
Version 0.3
1 parent b27018c commit 324bcd5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Specter
2-
version: 0.2
2+
version: 0.3
33
author: Falkirks
44
main: specter\Specter
55
api: [1.8.0]

src/specter/Specter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Specter extends PluginBase{
2020
public function onEnable(){
2121
$this->saveDefaultConfig();
2222
$this->interface = new SpecterInterface($this);
23-
$this->getServer()->addInterface($this->interface);
23+
$this->getServer()->getNetwork()->registerInterface($this->interface);
2424
}
2525
public function onCommand(CommandSender $sender, Command $command, $label, array $args){
2626
if(isset($args[0])){

0 commit comments

Comments
 (0)