message overflow fix #741

this fixes #741
This commit is contained in:
Mikkel Friis 2020-09-17 08:11:06 +02:00
parent 407bdb4440
commit 0d88193994
2 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,8 @@ public class WiredEffectBotTalk extends InteractionWiredEffect {
if (data.length == 2) {
this.botName = data[0];
if (data[1].length() > 64) return false;
this.message = data[1];
}

View File

@ -77,6 +77,8 @@ public class WiredEffectBotTalkToHabbo extends InteractionWiredEffect {
if (data.length == 2) {
this.botName = data[0];
if (data[1].length() > 64) return false;
this.message = data[1];
}