mirror of
https://gitlab.com/cable-mc/cobblemon.git
synced 2026-11-03 06:48:54 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2302d6e59f | ||
|
|
24f6915cc9 | ||
|
|
b4207b11ab |
No files matched your search
@@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## 1.1.1
|
||||
|
||||
### Fixes
|
||||
- Fixed a critical issue with servers where Pokémon data didn't properly synchronize and so you couldn't see any.
|
||||
|
||||
## 1.1.0 - The Swim and Sleep Update
|
||||
#### "Ideally not at the same time."
|
||||
|
||||
|
||||
@@ -137,6 +137,7 @@ class Species : ClientDataSynchronizer<Species> {
|
||||
|
||||
override fun encode(buffer: PacketByteBuf) {
|
||||
buffer.writeIdentifier(this.resourceIdentifier)
|
||||
buffer.writeBoolean(this.implemented)
|
||||
buffer.writeString(this.name)
|
||||
buffer.writeInt(this.nationalPokedexNumber)
|
||||
buffer.writeMap(this.baseStats,
|
||||
@@ -159,6 +160,7 @@ class Species : ClientDataSynchronizer<Species> {
|
||||
}
|
||||
|
||||
override fun decode(buffer: PacketByteBuf) {
|
||||
this.implemented = buffer.readBoolean()
|
||||
// identifier is decoded in the sync packet for easier debug log
|
||||
this.name = buffer.readString()
|
||||
this.nationalPokedexNumber = buffer.readInt()
|
||||
|
||||
+2
-2
@@ -11,6 +11,6 @@ luckperms_version=5.4
|
||||
|
||||
|
||||
mod_id=cobblemon
|
||||
mod_version=1.1.0
|
||||
snapshot=true
|
||||
mod_version=1.1.1
|
||||
snapshot=false
|
||||
maven_group=com.cobblemon.mod
|
||||
Reference in new issue
Block a user