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

once every 5 minutes.
dev
sigonasr2 9 years ago
parent df10def718
commit 0b63a9a8fc
  1. BIN
      TwosideKeeper.jar
  2. 8
      src/sig/plugin/TwosideKeeper/HelperStructures/Common/Habitation.java

Binary file not shown.

@ -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);
}
}
}
}

Loading…
Cancel
Save