mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 18:37:42 +01:00
Add option to toggle zero-tick fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 58354b185e7f9cc352e79508fd3f2cff1d75af9a Mon Sep 17 00:00:00 2001
|
||||
From 2774159720ce020a94f34d6a8a5c44cb89922ae2 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Sat, 24 Aug 2019 14:42:54 -0500
|
||||
Subject: [PATCH] Ender Dragon always drops full exp
|
||||
@@ -22,10 +22,10 @@ index 6a6367a2e..578676fec 100644
|
||||
}
|
||||
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurConfig.java b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
index 14930aea7..46c31ad1c 100644
|
||||
index 868271fa1..bb0cf2d0a 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
@@ -194,6 +194,7 @@ public class PurpurConfig {
|
||||
@@ -199,6 +199,7 @@ public class PurpurConfig {
|
||||
}
|
||||
|
||||
public static boolean enderDragonAlwaysDropsEggBlock = false;
|
||||
@@ -33,7 +33,7 @@ index 14930aea7..46c31ad1c 100644
|
||||
private static void enderDragonSettings() {
|
||||
if (version < 2) {
|
||||
boolean oldValue = config.getBoolean("ender-dragon-death-always-places-egg-block", enderDragonAlwaysDropsEggBlock);
|
||||
@@ -202,6 +203,7 @@ public class PurpurConfig {
|
||||
@@ -207,6 +208,7 @@ public class PurpurConfig {
|
||||
set("settings.mobs.ender-dragon.always-drop-egg-block", oldValue);
|
||||
}
|
||||
enderDragonAlwaysDropsEggBlock = getBoolean("settings.mobs.ender-dragon.always-drop-egg-block", enderDragonAlwaysDropsEggBlock);
|
||||
|
||||
Reference in New Issue
Block a user