mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-15 18:34:56 -04:00
lower priority for explosion packet
This commit is contained in:
parent
f043a9b620
commit
1dc689baf5
@ -34,7 +34,7 @@ import de.bixilon.minosoft.util.logging.Log
|
|||||||
import de.bixilon.minosoft.util.logging.LogLevels
|
import de.bixilon.minosoft.util.logging.LogLevels
|
||||||
import de.bixilon.minosoft.util.logging.LogMessageType
|
import de.bixilon.minosoft.util.logging.LogMessageType
|
||||||
|
|
||||||
@LoadPacket
|
@LoadPacket(lowPriority = true)
|
||||||
class ExplosionS2CP(buffer: PlayInByteBuffer) : PlayS2CPacket {
|
class ExplosionS2CP(buffer: PlayInByteBuffer) : PlayS2CPacket {
|
||||||
val position = if (buffer.versionId >= ProtocolVersions.V_22W42A) buffer.readVec3d() else Vec3d(buffer.readVec3f())
|
val position = if (buffer.versionId >= ProtocolVersions.V_22W42A) buffer.readVec3d() else Vec3d(buffer.readVec3f())
|
||||||
val power = buffer.readFloat()
|
val power = buffer.readFloat()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user