DefineOutside

Results 49 comments of DefineOutside

If this was a java client, I would fix this bug server-sided by sending the velocity of the vehicle just before they enter it.

> [09:36:00 ERROR]: Error whilst processing packet net.minecraft.network.protocol.game.PacketPlayInClientCommand@75daae80 for SavUToxic[/127.0.0.1:51439] java.lang.NullPointerException: Cannot invoke "io.papermc.paper.chunk.system.scheduling.NewChunkHolder.getChunkStatus()" because "chunkHolder" is null at net.minecraft.server.level.ServerChunkCache.getChunkFutureMainThread(ServerChunkCache.java:480) ~[?:?] at net.minecraft.server.level.ServerChunkCache.getChunk(ServerChunkCache.java:401) ~[?:?] at net.minecraft.world.level.Level.getChunk(Level.java:503) ~[?:?] at net.minecraft.world.level.Level.getChunk(Level.java:443) ~[?:?]...

Copyright statement's aren't technically required by GPL, only suggested However, I like the idea of letting people credit themselves in classes they make. I'd suggest putting the year that files...

>pl [16:42:47 INFO]: Plugins (3): ViaVersion, Titanium, GrimAC >grim profile DefineOutside [16:42:54 INFO]: ====================== [16:42:54 INFO]: Grim » Profile for DefineOutside [16:42:54 INFO]: Ping: 39 [16:42:54 INFO]: Version: 1.18.2 [16:42:54...

Potentially related to hacking around and injecting to the pipeline before via when it is present, to read client version in handshakes

I'd say to not stacktrace when a user throws an exception here. And to also kick the user for having an exception here.

want to note for anyone implementing this into PacketEvents that MCProtocolLib has a implementation that we can copy over: https://github.com/GeyserMC/MCProtocolLib/blob/master/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/clientbound/ClientboundUpdateAdvancementsPacket.java

I got a paste of this issue from one of my users: https://pastebin.com/UpvnKVpZ

Your version comparison methods are o(n) despite being ordinals perfectly suited for o(1)

![nullthree](https://user-images.githubusercontent.com/49797025/151680953-388aae89-e1f2-43cf-805a-f357915e64c1.png) Forgot to show event.getPlayer(), but it returns null when the bukkit player object should exist. I'm listening to the PLAYER_POSITION_AND_ROTATION clientbound packet to teleport the player on join.