player.sendMessage("Could not find a near Entity you are looking at.");
return;
}
// Send entity information
Descriptor desc = nearest.get(Descriptor.class);
if (desc == null) {
player.sendMessage("Selected Entity: Unknown");
} else {
player.sendMessage("Selected Entity: " + desc.getDescription());
}
Object currentValue = nearest.getData().get(key);
if (value == null || value.isEmpty()) {
if (nearest.getData().containsKey(key)) {