diff --git a/fabric/src/main/java/com/discordsrv/fabric/mixin/PlayerAdvancementTrackerMixin.java b/fabric/src/main/java/com/discordsrv/fabric/mixin/PlayerAdvancementTrackerMixin.java index 0ba4ec1c..d04f830b 100644 --- a/fabric/src/main/java/com/discordsrv/fabric/mixin/PlayerAdvancementTrackerMixin.java +++ b/fabric/src/main/java/com/discordsrv/fabric/mixin/PlayerAdvancementTrackerMixin.java @@ -1,3 +1,21 @@ +/* + * This file is part of DiscordSRV, licensed under the GPLv3 License + * Copyright (c) 2016-2025 Austin "Scarsz" Shapiro, Henri "Vankka" Schubin and DiscordSRV contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.discordsrv.fabric.mixin; import com.discordsrv.fabric.module.chat.FabricAdvancementModule; @@ -13,7 +31,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; @Mixin(PlayerAdvancementTracker.class) public class PlayerAdvancementTrackerMixin { @Shadow - ServerPlayerEntity owner; + private ServerPlayerEntity owner; @Inject(method = "grantCriterion", at = @At(value = "INVOKE", target = "Lnet/minecraft/advancement/PlayerAdvancementTracker;onStatusUpdate(Lnet/minecraft/advancement/AdvancementEntry;)V")) public void onGrant(AdvancementEntry advancementEntry, String criterionName, CallbackInfoReturnable cir) { diff --git a/fabric/src/main/java/com/discordsrv/fabric/mixin/ban/BanCommandMixin.java b/fabric/src/main/java/com/discordsrv/fabric/mixin/ban/BanCommandMixin.java index 5ee4fd2e..2e486dc5 100644 --- a/fabric/src/main/java/com/discordsrv/fabric/mixin/ban/BanCommandMixin.java +++ b/fabric/src/main/java/com/discordsrv/fabric/mixin/ban/BanCommandMixin.java @@ -1,3 +1,21 @@ +/* + * This file is part of DiscordSRV, licensed under the GPLv3 License + * Copyright (c) 2016-2025 Austin "Scarsz" Shapiro, Henri "Vankka" Schubin and DiscordSRV contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.discordsrv.fabric.mixin.ban; import com.discordsrv.fabric.module.ban.FabricBanModule; diff --git a/fabric/src/main/java/com/discordsrv/fabric/module/ban/FabricBanModule.java b/fabric/src/main/java/com/discordsrv/fabric/module/ban/FabricBanModule.java index 9a7c03fa..aadbb1c6 100644 --- a/fabric/src/main/java/com/discordsrv/fabric/module/ban/FabricBanModule.java +++ b/fabric/src/main/java/com/discordsrv/fabric/module/ban/FabricBanModule.java @@ -1,3 +1,21 @@ +/* + * This file is part of DiscordSRV, licensed under the GPLv3 License + * Copyright (c) 2016-2025 Austin "Scarsz" Shapiro, Henri "Vankka" Schubin and DiscordSRV contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.discordsrv.fabric.module.ban; import com.discordsrv.api.component.MinecraftComponent;