mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-18 00:47:42 +01:00
Make 'cannot mount mob' string configurable
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 06bc2751ebfd115af5d64546bf8c007a25f4abee Mon Sep 17 00:00:00 2001
|
||||
From 13f3c9bd39aba9a4baa9f93e4020e4378a42de1c Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Thu, 8 Aug 2019 15:29:15 -0500
|
||||
Subject: [PATCH] Implement AFK API
|
||||
@@ -14,8 +14,8 @@ Subject: [PATCH] Implement AFK API
|
||||
.../net/pl3x/purpur/PurpurWorldConfig.java | 11 +++++
|
||||
.../craftbukkit/entity/CraftPlayer.java | 17 ++++++++
|
||||
.../java/org/spigotmc/ActivationRange.java | 1 +
|
||||
src/main/resources/purpur.lang | 5 ++-
|
||||
11 files changed, 112 insertions(+), 25 deletions(-)
|
||||
src/main/resources/purpur.lang | 4 +-
|
||||
11 files changed, 111 insertions(+), 25 deletions(-)
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
|
||||
index 4a24f38885..1454c2fa4d 100644
|
||||
@@ -288,15 +288,16 @@ index 795817177a..17c4d7ec9b 100644
|
||||
ActivationType.MISC.boundingBox = player.getBoundingBox().grow( miscActivationRange, 256, miscActivationRange );
|
||||
ActivationType.RAIDER.boundingBox = player.getBoundingBox().grow( raiderActivationRange, 256, raiderActivationRange );
|
||||
diff --git a/src/main/resources/purpur.lang b/src/main/resources/purpur.lang
|
||||
index 0967ef424b..f4694dbcce 100644
|
||||
index 7125c0477e..e925e1374d 100644
|
||||
--- a/src/main/resources/purpur.lang
|
||||
+++ b/src/main/resources/purpur.lang
|
||||
@@ -1 +1,4 @@
|
||||
-{}
|
||||
+{
|
||||
@@ -1,3 +1,5 @@
|
||||
{
|
||||
- "cannot.ride.mob": "You cannot mount that mob"
|
||||
+ "cannot.ride.mob": "You cannot mount that mob",
|
||||
+ "idle.timeout.broadcast.away": "§e§o%s is now AFK",
|
||||
+ "idle.timeout.broadcast.back": "§e§o%s is no longer AFK"
|
||||
+}
|
||||
}
|
||||
--
|
||||
2.24.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user