ConsoleCommandSender no longer has a default constructor, use ConsoleCommandSender(server). Added entity.getServer
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package org.bukkit.command;
|
||||
|
||||
import org.bukkit.Server;
|
||||
|
||||
|
||||
public interface CommandSender {
|
||||
/**
|
||||
@@ -24,4 +26,11 @@ public interface CommandSender {
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean isPlayer();
|
||||
|
||||
/**
|
||||
* Returns the server instance that this player is running through
|
||||
*
|
||||
* @return Server instance
|
||||
*/
|
||||
public Server getServer();
|
||||
}
|
||||
Reference in New Issue
Block a user