File tree 1 file changed +6
-5
lines changed
src/main/java/world/bentobox/bentobox/managers
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1286,15 +1286,16 @@ public void clearSpawn(World world) {
1286
1286
}
1287
1287
1288
1288
/**
1289
+ * Check is a player has an island and owns it in world
1290
+ *
1289
1291
* @param uniqueId - unique ID
1290
- * @return true if the player is the owner of their island.
1291
- * @deprecated This will be removed in 2.0 because it is ambiguous when a user
1292
- * has more than one island in the world .
1292
+ * @return true if the player is the owner of any island in the world .
1293
+ * @deprecated Duplicate of {@link #hasIsland(World, UUID)}. Players can have
1294
+ * multiple islands .
1293
1295
*/
1294
-
1295
1296
@ Deprecated (since = "2.0" , forRemoval = true )
1296
1297
public boolean isOwner (@ NonNull World world , @ NonNull UUID uniqueId ) {
1297
- return hasIsland (world , uniqueId ) && uniqueId . equals ( getIsland ( world , uniqueId ). getOwner ()) ;
1298
+ return hasIsland (world , uniqueId );
1298
1299
}
1299
1300
1300
1301
/**
You can’t perform that action at this time.
0 commit comments