mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-13 14:49:03 +00:00
@@ -61,7 +61,7 @@ public class BiomassBlob extends GameObject implements InventoryHolder {
|
||||
|
||||
BiomassBlob biomassBlob = new BiomassBlob();
|
||||
|
||||
biomassBlob.setObjectId((int) (long) json.get("i"));
|
||||
biomassBlob.setObjectId((long) json.get("i"));
|
||||
biomassBlob.setX((int) (long) json.get("x"));
|
||||
biomassBlob.setY((int) (long) json.get("y"));
|
||||
// biomassBlob.style = (int) (long) json.get("style");
|
||||
|
||||
@@ -15,8 +15,6 @@ public class WorldUtils {
|
||||
*/
|
||||
public static ArrayList<BiomassBlob> generateBlobs(World world, int minCount, int maxCount, int yield) {
|
||||
|
||||
System.out.println("Generating blobs...");
|
||||
|
||||
Random random = new Random();
|
||||
int blobCount = random.nextInt(maxCount - minCount) + minCount;
|
||||
ArrayList<BiomassBlob> biomassBlobs = new ArrayList<>(maxCount);
|
||||
|
||||
Reference in New Issue
Block a user