checkAllowance(playerMoveEvent, playerMoveEvent.getTargetEntity());
}
}
@Listener(ignoreCancelled = true)
public void onChat(MessageSinkEvent chatEvent) {
<BUG>Optional<Player> playerOptional = chatEvent.getCause().first(Player.class);
if (playerOptional.isPresent()) {
checkAllowance(chatEvent, playerOptional.get());

}</BUG>
}

checkAllowance(playerMoveEvent, playerMoveEvent.getTargetEntity());
}
}
