From c55c6a5202bd8403a1fdd36a67ad5b8f8f46785a Mon Sep 17 00:00:00 2001 From: samolego <34912839+samolego@users.noreply.github.com> Date: Thu, 8 Jun 2023 11:53:59 +0200 Subject: [PATCH] Bump Config2Brigadier --- .../src/main/java/org/samo_lego/taterzens/npc/TaterzenNPC.java | 3 ++- gradle.properties | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/org/samo_lego/taterzens/npc/TaterzenNPC.java b/common/src/main/java/org/samo_lego/taterzens/npc/TaterzenNPC.java index d72b465c3..689461b5a 100644 --- a/common/src/main/java/org/samo_lego/taterzens/npc/TaterzenNPC.java +++ b/common/src/main/java/org/samo_lego/taterzens/npc/TaterzenNPC.java @@ -543,8 +543,9 @@ public void tick() { for(ServerPlayer player: players) { // Filter them here (not use a predicate above) // as we need the original list below - if(((ITaterzenEditor) player).getEditorMode() == ITaterzenEditor.EditorMode.MESSAGES || this.distanceTo(player) > config.messages.speakDistance) + if (((ITaterzenEditor) player).getEditorMode() == ITaterzenEditor.EditorMode.MESSAGES || this.distanceTo(player) > config.messages.speakDistance) { continue; + } ITaterzenPlayer pl = (ITaterzenPlayer) player; int msgPos = pl.getLastMsgPos(this.getUUID()); diff --git a/gradle.properties b/gradle.properties index 18a416786..eaeb0edcf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,6 +8,7 @@ loader_version=0.14.21 #Fabric api fabric_version=0.83.0+1.20 + #Forge forge_version=44.1.5 enable_forge=false @@ -17,5 +18,5 @@ maven_group=org.samo_lego archives_base_name=taterzens # Dependencies disguiselib_version=1.3.3 -c2b_version=1.2.4 +c2b_version=1.2.5