Skip to content

Commit

Permalink
change: Adjust backport
Browse files Browse the repository at this point in the history
  • Loading branch information
DrexHD committed Sep 15, 2022
1 parent 27c388f commit df3896a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Hide falling particles
- Hide block destroy progress
- Developer API notes to the Readme
- Config option for chat disabling

### Changed
- Improve packet filtering
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/me/drex/vanish/config/VanishConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@ public class VanishConfig {
@Comment("Text to be displayed when placeholder vanish:vanished is used for a vanished player")
public String placeHolderDisplay = " <gray>☠";

@Comment("Prevents vanished players from using chat")
public boolean disableChat = true;

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

import com.llamalad7.mixinextras.injector.wrapoperation.Operation;
import com.llamalad7.mixinextras.injector.wrapoperation.WrapOperation;
import io.netty.util.concurrent.GenericFutureListener;
import it.unimi.dsi.fastutil.objects.ObjectArrayList;
import me.drex.vanish.api.VanishAPI;
import net.minecraft.network.chat.ChatType;
import net.minecraft.network.chat.Component;
import net.minecraft.network.protocol.Packet;
import net.minecraft.network.protocol.game.ClientboundPlayerInfoPacket;
Expand All @@ -14,14 +16,16 @@
import net.minecraft.server.network.ServerGamePacketListenerImpl;
import net.minecraft.server.players.PlayerList;
import net.minecraft.world.entity.Entity;
import org.jetbrains.annotations.Nullable;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

import java.util.UUID;
import java.util.concurrent.Future;

@Mixin(ServerGamePacketListenerImpl.class)
public abstract class ServerGamePacketListenerImplMixin {

Expand Down

0 comments on commit df3896a

Please sign in to comment.