Skip to content

Commit

Permalink
chore: remove my tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RealBauHD committed Sep 11, 2024
1 parent fbff839 commit a5004f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,10 @@ public int id() {
}

public void play() {
final var world = (SculkWorld) this.server.createWorld(World.builder().name("aaaa").loader(WorldLoader.anvil(Path.of("world"))));
this.setState(State.PLAY);
this.server.eventHandler().call(new PlayerInitialEvent(this.player))
.thenAcceptAsync(event -> {
final var world = (SculkWorld) event.world();
var position = event.position();
if (world == null || !world.isAlive()) {
this.player.disconnect(Component.text("No world found.", NamedTextColor.RED));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ public final class MinecraftEncoder extends MessageToByteEncoder<ClientboundPack

@Override
protected void encode(ChannelHandlerContext ctx, ClientboundPacket packet, ByteBuf buf) {
System.out.println(packet);
VarInt.write(buf, this.registry.packetId(packet));
packet.encode(new Buffer(buf));
}
Expand Down

0 comments on commit a5004f3

Please sign in to comment.