3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-09-19 14:20:05 +02:00

Have BukkitEntity.getState() return null for now.

Dieser Commit ist enthalten in:
sk89q 2014-07-14 02:15:21 -07:00
Ursprung f50c69ee8f
Commit c535ad8682
2 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -74,7 +74,7 @@ class BukkitEntity implements Entity {
@Override
public BaseEntity getState() {
throw new UnsupportedOperationException("Not implemented yet");
return null;
}
@Override

Datei anzeigen

@ -22,6 +22,8 @@ package com.sk89q.worldedit.entity;
import com.sk89q.worldedit.extent.Extent;
import com.sk89q.worldedit.util.Location;
import javax.annotation.Nullable;
/**
* A reference to an instance of an entity that exists in an {@link Extent}
* and thus would have position and similar details.
@ -37,8 +39,9 @@ public interface Entity {
/**
* Get a copy of the entity's state.
*
* @return the entity's state
* @return the entity's state or null if one cannot be gotten
*/
@Nullable
BaseEntity getState();
/**