From bcc855b19b90d932ab737eec75d17643471aceee Mon Sep 17 00:00:00 2001 From: RezzedUp Date: Sun, 6 Mar 2022 17:26:17 -0600 Subject: [PATCH] Update LICENSE copyright year and include it in built jars. Reword some debug messages. --- LICENSE | 2 +- pom.xml | 7 +++++++ .../staffchat/listeners/PlayerPrefixedMessageListener.java | 3 +-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index e7efc59..ee5888f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017-2021 RezzedUp +Copyright (c) 2017-2022 RezzedUp and Contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pom.xml b/pom.xml index f091354..d78a782 100644 --- a/pom.xml +++ b/pom.xml @@ -218,6 +218,13 @@ src/main/resources true + + + . + + LICENSE + + diff --git a/src/main/java/com/rezzedup/discordsrv/staffchat/listeners/PlayerPrefixedMessageListener.java b/src/main/java/com/rezzedup/discordsrv/staffchat/listeners/PlayerPrefixedMessageListener.java index acdf7aa..da82fa1 100644 --- a/src/main/java/com/rezzedup/discordsrv/staffchat/listeners/PlayerPrefixedMessageListener.java +++ b/src/main/java/com/rezzedup/discordsrv/staffchat/listeners/PlayerPrefixedMessageListener.java @@ -61,8 +61,7 @@ public void onPrefixedChatEarly(AsyncPlayerChatEvent event) if (!message.startsWith(identifier)) { return; } plugin.debug(getClass()).log(event, () -> - "Early Listener: Identified prefixed chat from player(" + player.getName() + ") identified " + - "by prefix(\"" + identifier + "\"): full-message(\"" + message + "\")" + "Early Listener: Detected prefixed chat from player(" + player.getName() + "): message(\"" + message + "\")" ); event.setCancelled(true); // Cancel this message from getting sent to global chat.