From 799c933d958de4fefc17b5292469cf3b41207017 Mon Sep 17 00:00:00 2001 From: KennyTV Date: Sat, 23 May 2020 11:14:50 +0200 Subject: [PATCH] Make SoundRewriter fields protected --- .../java/us/myles/ViaVersion/api/rewriters/SoundRewriter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/us/myles/ViaVersion/api/rewriters/SoundRewriter.java b/common/src/main/java/us/myles/ViaVersion/api/rewriters/SoundRewriter.java index 4c795f10d..740ba84e2 100644 --- a/common/src/main/java/us/myles/ViaVersion/api/rewriters/SoundRewriter.java +++ b/common/src/main/java/us/myles/ViaVersion/api/rewriters/SoundRewriter.java @@ -6,9 +6,9 @@ import us.myles.ViaVersion.api.type.Type; import us.myles.ViaVersion.packets.State; public class SoundRewriter { - private final Protocol protocol; + protected final Protocol protocol; // Can't hold the mappings instance here since it's loaded later - private final IdRewriteFunction idRewriter; + protected final IdRewriteFunction idRewriter; public SoundRewriter(Protocol protocol, IdRewriteFunction idRewriter) { this.protocol = protocol;