Skip to content

Commit

Permalink
don't mess with chat messages when mod is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Gjum committed Jan 3, 2021
1 parent d2f088d commit fe574ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion litemod/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name=Synapse
description=Civ player utilities
projectGroup=gjum.minecraft.civ.synapse
version=2.0.0-beta12
version=2.0.1
mcVersion=1.12.2
mcMappings=snapshot_20180101
forgeGradleVersion=2.3-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,7 @@ public ITextComponent getDisplayNameForAccount(@Nonnull String accountName) {
@Nullable
public ITextComponent handleChat(ITextComponent original) {
try {
if (!isModActive()) return original;
ObservationImpl observation = ChatHandler.observationFromChat(original);
if (observation != null) {
handleChatObservation(observation, original);
Expand Down

0 comments on commit fe574ae

Please sign in to comment.