mirror of
https://github.com/GeyserMC/Geyser.git
synced 2026-01-04 15:31:36 +00:00
Fix cocoa beans, rename shouldSkipSaving to skipSaving in the SessionAcceptCodeOfConductEvent
This commit is contained in:
@@ -81,7 +81,7 @@ public class CodeOfConductManager {
|
||||
public void saveCodeOfConductAccepted(GeyserSession session, String codeOfConduct) {
|
||||
SessionAcceptCodeOfConductEvent event = new SessionAcceptCodeOfConductEvent(session, codeOfConduct);
|
||||
session.getGeyser().getEventBus().fire(event);
|
||||
if (!event.wasSavedElsewhere()) {
|
||||
if (!event.shouldSkipSaving()) {
|
||||
playerAcceptedCodeOfConducts.put(session.xuid(), codeOfConduct.hashCode());
|
||||
dirty = true;
|
||||
}
|
||||
|
||||
Submodule core/src/main/resources/mappings updated: ae31e2284a...9bb4fc8e17
Reference in New Issue
Block a user