Compare commits

...
3 Commits
Author SHA1 Message Date
Paul 2302d6e59f 1.1.1 non-snapshot 2022-11-28 13:35:08 +10:00
Paul 24f6915cc9 1.1.1 2022-11-28 13:25:14 +10:00
Paul b4207b11ab Fixed sync issue for implemented field in Species 2022-11-28 12:50:32 +10:00
3 changed files with 9 additions and 2 deletions

No files matched your search

+5
View File
@@ -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
View File
@@ -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