mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-23 18:55:30 +01:00
Null check.
This commit is contained in:
parent
2399e68c67
commit
df87a4aa7f
@ -215,7 +215,8 @@ public class IslandManager {
|
||||
return false;
|
||||
}
|
||||
|
||||
data.setIslandCreationCount(amt + 1);
|
||||
if (data != null)
|
||||
data.setIslandCreationCount(amt + 1);
|
||||
|
||||
Island island = new Island(player);
|
||||
island.setStructure(structure.getName());
|
||||
|
Loading…
Reference in New Issue
Block a user