Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2025-01-11 23:51:11 +01:00
Pufferfish puff is indeed fixed
Dieser Commit ist enthalten in:
Ursprung
ef0503ede0
Commit
01ca2d3dcb
@ -41,8 +41,6 @@ public class PufferFishEntity extends AbstractFishEntity {
|
|||||||
@Override
|
@Override
|
||||||
public void updateBedrockMetadata(EntityMetadata entityMetadata, GeyserSession session) {
|
public void updateBedrockMetadata(EntityMetadata entityMetadata, GeyserSession session) {
|
||||||
if (entityMetadata.getId() == 17) {
|
if (entityMetadata.getId() == 17) {
|
||||||
// Transfers correctly but doesn't apply on the client
|
|
||||||
//TODO check - probably because we didn't set PUFFERFISH_SIZE as a byte
|
|
||||||
int puffsize = (int) entityMetadata.getValue();
|
int puffsize = (int) entityMetadata.getValue();
|
||||||
metadata.put(EntityData.PUFFERFISH_SIZE, (byte) puffsize);
|
metadata.put(EntityData.PUFFERFISH_SIZE, (byte) puffsize);
|
||||||
metadata.put(EntityData.VARIANT, puffsize);
|
metadata.put(EntityData.VARIANT, puffsize);
|
||||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren