Revert "Adds method to obtain island via island unique id."

This reverts commit f64968c7c7.
This commit is contained in:
tastybento 2019-02-09 08:26:55 -08:00
parent 46f39c3649
commit 7b612c102e

View File

@ -931,14 +931,4 @@ public class IslandsManager {
handler.saveObject(island);
}
/**
* Get island by unique id
* @param uniqueId - unique id
* @return optional island
* @since 1.3.0
*/
public Optional<Island> getIsland(String uniqueId) {
return handler.objectExists(uniqueId) ? Optional.ofNullable(handler.loadObject(uniqueId)) : Optional.empty();
}
}