geforkt von Mirrors/FastAsyncWorldEdit
Have BukkitEntity.getState() return null for now.
Dieser Commit ist enthalten in:
Ursprung
f50c69ee8f
Commit
c535ad8682
@ -74,7 +74,7 @@ class BukkitEntity implements Entity {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BaseEntity getState() {
|
public BaseEntity getState() {
|
||||||
throw new UnsupportedOperationException("Not implemented yet");
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -22,6 +22,8 @@ package com.sk89q.worldedit.entity;
|
|||||||
import com.sk89q.worldedit.extent.Extent;
|
import com.sk89q.worldedit.extent.Extent;
|
||||||
import com.sk89q.worldedit.util.Location;
|
import com.sk89q.worldedit.util.Location;
|
||||||
|
|
||||||
|
import javax.annotation.Nullable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A reference to an instance of an entity that exists in an {@link Extent}
|
* A reference to an instance of an entity that exists in an {@link Extent}
|
||||||
* and thus would have position and similar details.
|
* and thus would have position and similar details.
|
||||||
@ -37,8 +39,9 @@ public interface Entity {
|
|||||||
/**
|
/**
|
||||||
* Get a copy of the entity's state.
|
* 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();
|
BaseEntity getState();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren