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

@ -67,11 +67,13 @@ public class Habitation {
TwosideKeeper.log("[Habitat]It's now clear~!",4); TwosideKeeper.log("[Habitat]It's now clear~!",4);
i--; i--;
} else { } else {
if (Math.random()<=0.1) {
locationhashes.put(hash, (int)(spawnamt*0.9)); locationhashes.put(hash, (int)(spawnamt*0.9));
TwosideKeeper.log("[Habitat]It's now "+(int)(spawnamt*0.9)+"!",4); TwosideKeeper.log("[Habitat]It's now "+(int)(spawnamt*0.9)+"!",4);
} }
} }
} }
}
public void removeStartingLocation(LivingEntity l) { public void removeStartingLocation(LivingEntity l) {
if (startinglocs.containsKey(l.getUniqueId())) { if (startinglocs.containsKey(l.getUniqueId())) {