diff options
author | syeyoung <42869671+cyoung06@users.noreply.github.com> | 2020-12-07 14:53:45 +0900 |
---|---|---|
committer | syeyoung <42869671+cyoung06@users.noreply.github.com> | 2020-12-07 14:53:45 +0900 |
commit | 081bf824bbb448e6665573f7f8f531cbbe43dea0 (patch) | |
tree | 2a1879300234500b5d93359a8555bcc7f3dc2b4f /src/main/java/kr/syeyoung/dungeonsguide/roomprocessor | |
parent | 4e82fbff685a77f1725abe93f87f7648af21ea35 (diff) | |
download | Skyblock-Dungeons-Guide-081bf824bbb448e6665573f7f8f531cbbe43dea0.tar.gz Skyblock-Dungeons-Guide-081bf824bbb448e6665573f7f8f531cbbe43dea0.tar.bz2 Skyblock-Dungeons-Guide-081bf824bbb448e6665573f7f8f531cbbe43dea0.zip |
stop calling twice
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomprocessor')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/icefill/RoomProcessorIcePath2.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/icefill/RoomProcessorIcePath2.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/icefill/RoomProcessorIcePath2.java index 7671cc80..c0cf99a5 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/icefill/RoomProcessorIcePath2.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/icefill/RoomProcessorIcePath2.java @@ -8,6 +8,7 @@ import kr.syeyoung.dungeonsguide.utils.RenderUtils; import net.minecraft.client.Minecraft; import net.minecraft.init.Blocks; import net.minecraft.util.BlockPos; +import net.minecraft.util.ChatComponentText; import java.awt.*; import java.util.ArrayList; @@ -80,7 +81,7 @@ public class RoomProcessorIcePath2 extends GeneralRoomProcessor { public void tick() { super.tick(); while (!messageQueue.isEmpty()){ - Minecraft.getMinecraft().thePlayer.sendChatMessage(messageQueue.poll()); + Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText(messageQueue.poll())); } } |