Skip to content

Commit

Permalink
Update LICENSE copyright year and include it in built jars.
Browse files Browse the repository at this point in the history
Reword some debug messages.
  • Loading branch information
RezzedUp committed Mar 6, 2022
1 parent d6a838b commit bcc855b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,13 @@
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
<!-- Include license in built jar -->
<resource>
<directory>.</directory>
<includes>
<include>LICENSE</include>
</includes>
</resource>
</resources>
</build>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bcc855b

Please sign in to comment.