mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 09:07:37 +00:00
Don't allow events in books
This commit is contained in:
parent
6c4903c3fe
commit
b65c1ccd6d
@ -21,7 +21,7 @@ public class BookListener extends PlexListener
|
||||
|
||||
for (Component page : event.getNewBookMeta().pages())
|
||||
{
|
||||
pages.add(SafeMiniMessage.mmDeserialize(PlexUtils.getTextFromComponent(page)));
|
||||
pages.add(SafeMiniMessage.mmDeserializeWithoutEvents(PlexUtils.getTextFromComponent(page)));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user