mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-20 18:07:43 +01:00
fix config options in patches
This commit is contained in:
@@ -17,10 +17,10 @@ index ee5ba341d481d5a0fa874c3c707398c9c1eb1ed4..47b6c362f41ea86eb99c49de4814062a
|
||||
|
||||
// Purpur start
|
||||
diff --git a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
index e69b0f4d54103fde67f9ae4c9bec686d2c949563..bdf174fafd9827e16ef4f12ce51991f2392411ea 100644
|
||||
index 321167bc250b7168a2bc379a96fc9a7a7175314e..2b651e83f37ac1a4a86e689ecc49f4d132f2599e 100644
|
||||
--- a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
@@ -873,6 +873,7 @@ public class PurpurWorldConfig {
|
||||
@@ -864,6 +864,7 @@ public class PurpurWorldConfig {
|
||||
public double basedEndCrystalExplosionPower = 6.0D;
|
||||
public boolean basedEndCrystalExplosionFire = false;
|
||||
public net.minecraft.world.level.Level.ExplosionInteraction basedEndCrystalExplosionEffect = net.minecraft.world.level.Level.ExplosionInteraction.BLOCK;
|
||||
@@ -28,7 +28,7 @@ index e69b0f4d54103fde67f9ae4c9bec686d2c949563..bdf174fafd9827e16ef4f12ce51991f2
|
||||
private void endCrystalSettings() {
|
||||
if (PurpurConfig.version < 31) {
|
||||
if ("DESTROY".equals(getString("blocks.end-crystal.baseless.explosion-effect", baselessEndCrystalExplosionEffect.name()))) {
|
||||
@@ -900,6 +901,7 @@ public class PurpurWorldConfig {
|
||||
@@ -891,6 +892,7 @@ public class PurpurWorldConfig {
|
||||
log(Level.SEVERE, "Unknown value for `blocks.end-crystal.base.explosion-effect`! Using default of `BLOCK`");
|
||||
basedEndCrystalExplosionEffect = net.minecraft.world.level.Level.ExplosionInteraction.BLOCK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user