Skip to content

Commit

Permalink
Make missed field mutable, fixes #15
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyrofab committed Jun 19, 2021
1 parent 115b3a4 commit 1193343
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
------------------------------------------------------
Version 2.3.2
------------------------------------------------------
- Fixed non-op players being kicked when in range of an impersonator

------------------------------------------------------
Version 2.3.1
------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jb_annotations_version = 19.0.0
apiguardian_version = 1.0.0

# Mod Properties
mod_version = 2.3.1
mod_version = 2.3.2
maven_group = io.github.ladysnake
archives_base_name = impersonate

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/
package io.github.ladysnake.impersonate.impl.mixin;

import com.mojang.authlib.GameProfile;
import net.minecraft.network.packet.s2c.play.PlayerListS2CPacket;
import net.minecraft.text.Text;
import org.spongepowered.asm.mixin.Final;
Expand All @@ -31,4 +32,6 @@
public abstract class PlayerListS2CPacketEntryMixin {
@SuppressWarnings("unused") // only here to remove the final from displayName
@Mutable @Final @Shadow private Text displayName;
@SuppressWarnings("unused") // only here to remove the final from displayName
@Mutable @Final @Shadow private GameProfile profile;
}

0 comments on commit 1193343

Please sign in to comment.