From e8a50a6fa1187220539029aa44b809439f1585fb Mon Sep 17 00:00:00 2001 From: syeyoung <42869671+cyoung06@users.noreply.github.com> Date: Mon, 7 Dec 2020 11:39:20 +0900 Subject: send messages --- .../roomprocessor/icefill/RoomProcessorIcePath2.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/icefill') 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 540092bc..b0e28cf1 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/icefill/RoomProcessorIcePath2.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/icefill/RoomProcessorIcePath2.java @@ -5,6 +5,7 @@ import kr.syeyoung.dungeonsguide.dungeon.roomfinder.DungeonRoom; import kr.syeyoung.dungeonsguide.roomprocessor.GeneralRoomProcessor; import kr.syeyoung.dungeonsguide.roomprocessor.RoomProcessorGenerator; import kr.syeyoung.dungeonsguide.utils.RenderUtils; +import net.minecraft.client.Minecraft; import net.minecraft.init.Blocks; import net.minecraft.util.BlockPos; @@ -78,7 +79,13 @@ public class RoomProcessorIcePath2 extends GeneralRoomProcessor { } } - + @Override + public void tick() { + super.tick(); + while (!messageQueue.isEmpty()){ + Minecraft.getMinecraft().thePlayer.sendChatMessage(messageQueue.poll()); + } + } @Override public void drawWorld(float partialTicks) { -- cgit