Skip to content

Commit

Permalink
changed default files
Browse files Browse the repository at this point in the history
  • Loading branch information
davishi25 committed Nov 30, 2024
1 parent 9c20fda commit d9f3ee5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ plugins {
}
*/
version = "1.0"
group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "modid"
group= "com.davishi25.copychat" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "copychat"

minecraft {
version = "1.8.9-11.15.1.2318-1.8.9"
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/davishi/copychat/CopyChat.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void preInit(FMLPreInitializationEvent event) {
@EventHandler
public void init(FMLInitializationEvent event) {MinecraftForge.EVENT_BUS.register(this);}

@SubscribeEvent(priority = EventPriority.LOWEST)
@SubscribeEvent(priority = EventPriority.HIGHEST)
public void onChatReceived(ClientChatReceivedEvent e) {
if (e.type == 2) return;
e.message.setChatStyle(new ChatStyle().setChatClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "//copy " + e.message.getUnformattedText())));
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/mcmod.info
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"modid": "copychat",
"name": "Copy Chat",
"name": "Copy-Chat",
"description": "copies minecraft chat text",
"version": "${version}",
"mcversion": "${mcversion}",
Expand Down

0 comments on commit d9f3ee5

Please sign in to comment.