ConsoleCommandSender no longer has a default constructor, use ConsoleCommandSender(server). Added entity.getServer

This commit is contained in:
Dinnerbone
2011-02-23 11:33:03 +00:00
parent e5dcfd2f73
commit dbdf8afede
3 changed files with 29 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
package org.bukkit.entity;
import org.bukkit.Location;
import org.bukkit.Server;
import org.bukkit.World;
/**
@@ -68,4 +69,11 @@ public interface Entity {
* Mark the entity's removal.
*/
public void remove();
/**
* Gets the {@link Server} that contains this Entity
*
* @return Server instance running this Entity
*/
public Server getServer();
}