commit
Some checks failed
/ deploy (push) Failing after 53s

This commit is contained in:
Minecon724 2024-11-24 20:05:52 +01:00
parent 282bebdcdb
commit 6f28250a10
Signed by untrusted user who does not match committer: Minecon724
GPG key ID: 3CCC4D267742C8E8
13 changed files with 308 additions and 13 deletions

View file

@ -28,6 +28,10 @@ public class ChatManager {
}
public void init() {
if (plugin.getServer().isEnforcingSecureProfiles()) {
throw new RuntimeException("Please disable enforce-secure-profile in server.properties to use chatrooms");
}
getById(defaultRoom);
plugin.getServer().getPluginManager().registerEvents(new ChatListener(this), plugin);
}