Skip to content

Commit

Permalink
Fixed chat
Browse files Browse the repository at this point in the history
  • Loading branch information
Falkirks committed Aug 16, 2014
1 parent e0f48d8 commit 3dc2bab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/icontrolu/iControlU.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ public function onMessage(PlayerChatEvent $event){
}
elseif($this->isControl($event->getPlayer())){
$this->s[$event->getPlayer()->getName()]->sendChat($event);
$event->setCancelled();
}
}
public function onItemDrop(PlayerDropItemEvent $event){
Expand Down

0 comments on commit 3dc2bab

Please sign in to comment.