NoteBot: Bug fixes

This commit is contained in:
noil 2021-01-13 00:13:29 -05:00
parent 3dd651f408
commit 5a48d4bbd5
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ public final class NoteBotModule extends Module {
@Listener
public void onLoadWorld(EventLoadWorld event) {
if (event.getWorld() != null) {
this.clearData();
this.toggle(); // toggle off
Seppuku.INSTANCE.logChat("\247rToggled\2477 " + this.getDisplayName() + " \247coff\247r, as you've loaded into a new world.");
}