From 87970726e4e142fdcdc04fa3fb79f54f043fdb4a Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sat, 3 Jan 2015 16:46:00 +0100 Subject: [PATCH] Added PlayerCreationEvent->setBaseClass() --- src/pocketmine/event/player/PlayerCreationEvent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/event/player/PlayerCreationEvent.php b/src/pocketmine/event/player/PlayerCreationEvent.php index 1c1a00b2e3..a5948fd356 100644 --- a/src/pocketmine/event/player/PlayerCreationEvent.php +++ b/src/pocketmine/event/player/PlayerCreationEvent.php @@ -117,7 +117,7 @@ class PlayerCreationEvent extends Event{ throw new \RuntimeException("Base class $class must extend " . $this->baseClass); } - $this->playerClass = $class; + $this->baseClass = $class; } /**