mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
Fix leashing villagers config
This commit is contained in:
@@ -212,6 +212,9 @@ mobs
|
||||
* brain-ticks
|
||||
- **default**: 2
|
||||
- **description**: How often (in ticks) should villager's tick their brain logic. Vanilla value is to tick every tick (1). Higher amounts makes them tick less often to reduce lag, but setting it too high could result is unresponsive villagers.
|
||||
* allow-leashing
|
||||
- **default**: false
|
||||
- **description**: Allow players to use leads on villagers (trader not included)
|
||||
|
||||
* zombie
|
||||
* target-turtle-eggs
|
||||
@@ -337,11 +340,6 @@ allow-sign-colors
|
||||
* **default**: true
|
||||
* **description**: Allow players to use color codes on signs
|
||||
|
||||
allow-leashing-villagers
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* **default**: true
|
||||
* **description**: Allow players to use leads on villagers (trader not included)
|
||||
|
||||
items-can-break-turtle-eggs
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* **default**: false
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From b79259289d6aa07a6f9999672fb1633a8c7e9309 Mon Sep 17 00:00:00 2001
|
||||
From 69ada1740794b540e8bfa8291af911927d83e298 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Thu, 3 Oct 2019 18:08:03 -0500
|
||||
Subject: [PATCH] Allow leashing villagers
|
||||
@@ -38,7 +38,7 @@ index d1d62a900..2a848304d 100644
|
||||
+ // Purpur - end
|
||||
}
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurConfig.java b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
index e08f307c7..0ed0dc8ed 100644
|
||||
index e08f307c7..c31d8d23a 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
@@ -263,9 +263,11 @@ public class PurpurConfig {
|
||||
@@ -49,7 +49,7 @@ index e08f307c7..0ed0dc8ed 100644
|
||||
private static void villagerSettings() {
|
||||
useVillagerBrainTicksOnlyWhenLagging = getBoolean("settings.mobs.villager.use-brain-ticks-only-when-lagging", useVillagerBrainTicksOnlyWhenLagging);
|
||||
villagerBrainTicks = getInt("settings.mobs.villager.brain-ticks", villagerBrainTicks);
|
||||
+ allowLeashingVillagers = getBoolean("allow-leashing-villagers", allowLeashingVillagers);
|
||||
+ allowLeashingVillagers = getBoolean("settings.mobs.villager.allow-leashing", allowLeashingVillagers);
|
||||
}
|
||||
|
||||
public static boolean zombieTargetsTurtleEggs = true;
|
||||
|
||||
Reference in New Issue
Block a user