mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 18:37:42 +01:00
add back random populator seed
This commit is contained in:
@@ -22,10 +22,10 @@ index c65a6ab9a30ad269a2caad9ab5fad77c4c7ce3aa..082deb251fa793561cc4366cc7b03d7b
|
||||
this.lastGoodX = this.player.getX();
|
||||
this.lastGoodY = this.player.getY();
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index 78763c53bafc3bd5a142acf530342af8fad363c6..4d82f5f9c9a6b2ce4079fea1b3fb4279c342015f 100644
|
||||
index abc517a17afb66766f75c07334cb2ca2bd9e5cc0..4c3ffb3bc74ee37113549fa7d984360f098dc1a0 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -143,6 +143,8 @@ public class PurpurWorldConfig {
|
||||
@@ -144,6 +144,8 @@ public class PurpurWorldConfig {
|
||||
public List<Item> itemImmuneToExplosion = new ArrayList<>();
|
||||
public List<Item> itemImmuneToFire = new ArrayList<>();
|
||||
public List<Item> itemImmuneToLightning = new ArrayList<>();
|
||||
@@ -34,7 +34,7 @@ index 78763c53bafc3bd5a142acf530342af8fad363c6..4d82f5f9c9a6b2ce4079fea1b3fb4279
|
||||
private void itemSettings() {
|
||||
itemImmuneToCactus.clear();
|
||||
getList("gameplay-mechanics.item.immune.cactus", new ArrayList<>()).forEach(key -> {
|
||||
@@ -180,6 +182,8 @@ public class PurpurWorldConfig {
|
||||
@@ -181,6 +183,8 @@ public class PurpurWorldConfig {
|
||||
Item item = Registry.ITEM.get(new ResourceLocation(key.toString()));
|
||||
if (item != Items.AIR) itemImmuneToLightning.add(item);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user