Implement abstract method Entity::getFacing in OfflinePlayer (#2157) @pop4959

Allows EssentialsX to compile against the latest Spigot version.

Reference: [8ab814cd5c)
This commit is contained in:
pop4959 2018-09-05 03:00:27 -07:00 committed by md678685
parent a3eb58724f
commit 19913d3612

View File

@ -8,6 +8,7 @@ import org.bukkit.advancement.AdvancementProgress;
import org.bukkit.attribute.Attribute;
import org.bukkit.attribute.AttributeInstance;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.block.PistonMoveReaction;
import org.bukkit.block.data.BlockData;
import org.bukkit.conversations.Conversation;
@ -146,6 +147,10 @@ public class OfflinePlayer implements Player {
return -1;
}
public BlockFace getFacing() {
return null;
}
@Override
public boolean performCommand(String string) {
return false;