Skip to content

Commit

Permalink
README update
Browse files Browse the repository at this point in the history
  • Loading branch information
NazuNazuzu committed Mar 27, 2023
1 parent 6328db0 commit 858660e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
<p align="center"><img src="https:github.com/Himabitoo/forge-mod-study/blob/main/src/main/resources/assets/studymod/textures/item/raw_red_diamond.png" alt="Logo" width="200"></p>
<p align="center"><img src="https:github.com/Himabitoo/forge-mod-study/blob/main/src/main/resources/assets/studymod/textures/item/raw_red_diamond.png?raw=true" alt="Logo" width="200"></p>
<h1 align="center">StudyMod</h1>
<p>覚えたこと、メモしたいことを都度ここに書き込みます。</p>
<p></p>
3 changes: 1 addition & 2 deletions src/main/java/com/ell/studymod/event/PlayerListener.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.ell.studymod.event;

import net.minecraft.network.chat.Component;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.level.block.Block;
import net.minecraftforge.event.level.BlockEvent.BreakEvent;
Expand All @@ -19,6 +18,6 @@ public static void onDestroyBlock(BreakEvent event){

Player player = event.getPlayer();
Block block = event.getState().getBlock();
player.sendSystemMessage(Component.translatable("You break " + block.getName()));
player.sendSystemMessage(block.getName());
}
}

0 comments on commit 858660e

Please sign in to comment.