Implemented QueryRegenerateEvent as base for other interfaces

This commit is contained in:
Shoghi Cervantes
2015-05-26 01:17:34 +02:00
parent 66435d4f6a
commit 51062940c5
5 changed files with 27 additions and 9 deletions

View File

@@ -2733,6 +2733,9 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
}
/**
* Note for plugin developers: use kick() with the isAdmin
* flag set to kick without the "Kicked by admin" part instead of this method.
*
* @param string $message Message to be broadcasted
* @param string $reason Reason showed in console
* @param bool $notify