Make habitation increases a lot less frequent. Didn't realize it was

once every 5 minutes.
This commit is contained in:
sigonasr2 2016-07-29 05:45:38 -05:00
parent df10def718
commit 0b63a9a8fc
2 changed files with 5 additions and 3 deletions

Binary file not shown.

View File

@ -25,7 +25,7 @@ public class Habitation {
public Habitation() {
locationhashes = new HashMap<String,Integer>();
startinglocs = new HashMap<UUID,Location>();
}
}
// Returns false if the new starting location is not allowed.
public boolean addNewStartingLocation(LivingEntity l) {
@ -67,8 +67,10 @@ public class Habitation {
TwosideKeeper.log("[Habitat]It's now clear~!",4);
i--;
} else {
locationhashes.put(hash, (int)(spawnamt*0.9));
TwosideKeeper.log("[Habitat]It's now "+(int)(spawnamt*0.9)+"!",4);
if (Math.random()<=0.1) {
locationhashes.put(hash, (int)(spawnamt*0.9));
TwosideKeeper.log("[Habitat]It's now "+(int)(spawnamt*0.9)+"!",4);
}
}
}
}