fake chunk packet
aliases
cfi wip
This commit is contained in:
Jesse Boyd
2019-10-30 12:26:52 +01:00
parent 8356004ec9
commit 72951cdf23
33 changed files with 704 additions and 286 deletions

View File

@ -139,7 +139,7 @@ public enum BukkitAdapter {
*/
public static Player adapt(com.sk89q.worldedit.entity.Player player) {
player = PlayerProxy.unwrap(player);
return ((BukkitPlayer) player).getPlayer();
return player == null ? null : ((BukkitPlayer) player).getPlayer();
}
/**