Skip to content

Commit

Permalink
Implement missing FakeWorld and OfflinePlayer methods
Browse files Browse the repository at this point in the history
  • Loading branch information
mdcfe committed May 8, 2019
1 parent 78b2dba commit 365efe4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions Essentials/src/com/earth2me/essentials/OfflinePlayer.java
Expand Up @@ -23,6 +23,7 @@
import org.bukkit.permissions.Permission;
import org.bukkit.permissions.PermissionAttachment;
import org.bukkit.permissions.PermissionAttachmentInfo;
import org.bukkit.persistence.PersistentDataContainer;
import org.bukkit.plugin.Plugin;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
Expand Down Expand Up @@ -162,6 +163,11 @@ public BlockFace getFacing() {
return null;
}

@Override
public Pose getPose() {
return null;
}

@Override
public boolean performCommand(String string) {
return false;
Expand Down Expand Up @@ -1614,4 +1620,9 @@ public PistonMoveReaction getPistonMoveReaction() {
@Override
public void updateCommands() {
}

@Override
public PersistentDataContainer getPersistentDataContainer() {
return null;
}
}
Expand Up @@ -112,7 +112,7 @@ public boolean unloadChunk(int i, int i1, boolean bln) {
throw new UnsupportedOperationException("Not supported yet.");
}

@Override
//@Override
public boolean unloadChunk(int i, int i1, boolean bln, boolean bln1) {
throw new UnsupportedOperationException("Not supported yet.");
}
Expand All @@ -122,7 +122,7 @@ public boolean unloadChunkRequest(int i, int i1) {
throw new UnsupportedOperationException("Not supported yet.");
}

@Override
//@Override
public boolean unloadChunkRequest(int i, int i1, boolean bln) {
throw new UnsupportedOperationException("Not supported yet.");
}
Expand Down

0 comments on commit 365efe4

Please sign in to comment.