diff options
| author | ohowe <42757516+carelesshippo@users.noreply.github.com> | 2021-06-02 11:55:36 -0600 |
|---|---|---|
| committer | ohowe <42757516+carelesshippo@users.noreply.github.com> | 2021-06-02 11:55:36 -0600 |
| commit | eeb5c45d71997cb259fc35330490a19db7865603 (patch) | |
| tree | 65771b27ed837896fa3140dec1af78306accebcd /src/main/java/io/github/moulberry/notenoughupdates/dungeons/DungeonWin.java | |
| parent | 4d9e538ced80728bca74491698347333f515bfcc (diff) | |
| parent | 1b172089ce502803f7644611afd618ce00dcb860 (diff) | |
| download | notenoughupdates-eeb5c45d71997cb259fc35330490a19db7865603.tar.gz notenoughupdates-eeb5c45d71997cb259fc35330490a19db7865603.tar.bz2 notenoughupdates-eeb5c45d71997cb259fc35330490a19db7865603.zip | |
Merge branch 'Moulberry:master' into master
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/dungeons/DungeonWin.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/dungeons/DungeonWin.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/dungeons/DungeonWin.java b/src/main/java/io/github/moulberry/notenoughupdates/dungeons/DungeonWin.java index 651f75b7..ab4d1b7b 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/dungeons/DungeonWin.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/dungeons/DungeonWin.java @@ -175,6 +175,8 @@ public class DungeonWin { } if(currentTime - lastDungeonFinish > 100 && currentTime - lastDungeonFinish < 10000) { if(hideChat) { + if(text.size() > 50) text.clear(); + e.setCanceled(true); if(unformatted.contains("\u25AC")) { hideChat = false; |
