Don't allow events in books

This commit is contained in:
Allink 2022-05-08 01:12:47 +01:00 committed by GitHub
parent 6c4903c3fe
commit b65c1ccd6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ public class BookListener extends PlexListener
for (Component page : event.getNewBookMeta().pages()) for (Component page : event.getNewBookMeta().pages())
{ {
pages.add(SafeMiniMessage.mmDeserialize(PlexUtils.getTextFromComponent(page))); pages.add(SafeMiniMessage.mmDeserializeWithoutEvents(PlexUtils.getTextFromComponent(page)));
} }