mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 18:09:41 -05:00
ConsoleCommandSender no longer has a default constructor, use ConsoleCommandSender(server). Added entity.getServer
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
1 parent
51ec34dd60
commit
858c8bee96
3 files changed
+29
No files matched your search
@@ -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();
|
||||
}
|
||||
Reference in new issue
Block a user