Update IslandsManager.java
Removes line that removes player from cache. They should remain in the cache.
This commit is contained in:
parent
6f1cdca3b4
commit
1cf56606b8
|
@ -1520,8 +1520,6 @@ public class IslandsManager {
|
|||
*/
|
||||
public void setOwner(User user, UUID targetUUID, Island island) {
|
||||
islandCache.setOwner(island, targetUUID);
|
||||
// Remove the old owner from the island to clear cache
|
||||
plugin.getIslands().removePlayer(island, user.getUniqueId());
|
||||
// Set old owner as sub-owner on island.
|
||||
island.setRank(user, RanksManager.SUB_OWNER_RANK);
|
||||
|
||||
|
|
Loading…
Reference in New Issue