mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-16 10:55:01 -04:00
PlayerTexture: remove unused method
This commit is contained in:
parent
667a911239
commit
c222d48f8e
@ -71,14 +71,5 @@ open class PlayerTexture(
|
||||
|
||||
companion object {
|
||||
private const val MAX_TEXTURE_SIZE = 64 * 64 * 3 + 100 // width * height * rgb + some padding
|
||||
|
||||
private fun urlMatches(url: URL, domains: Array<String>): Boolean {
|
||||
for (checkURL in domains) {
|
||||
if (url.host.endsWith(checkURL)) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ class PlayerAbilitiesS2CP(buffer: PlayInByteBuffer) : PlayS2CPacket {
|
||||
}
|
||||
|
||||
override fun log(reducedLog: Boolean) {
|
||||
Log.log(LogMessageType.NETWORK_PACKETS_IN, level = LogLevels.VERBOSE) { "Player abilities (isInvulnerable=$isInvulnerable, isFlying=$isFlying, canFly=$canFly, canInstantBuild=$creative, flyingSpeed=$flyingSpeed, walkingSpeed=$walkingSpeed)" }
|
||||
Log.log(LogMessageType.NETWORK_PACKETS_IN, level = LogLevels.VERBOSE) { "Player abilities (isInvulnerable=$isInvulnerable, isFlying=$isFlying, canFly=$canFly, creative=$creative, flyingSpeed=$flyingSpeed, walkingSpeed=$walkingSpeed)" }
|
||||
}
|
||||
|
||||
override fun handle(connection: PlayConnection) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user