Pufferfish puff is indeed fixed

This commit is contained in:
Camotoy 2021-06-06 11:38:54 -04:00
parent ef0503ede0
commit 01ca2d3dcb
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -41,8 +41,6 @@ public class PufferFishEntity extends AbstractFishEntity {
@Override
public void updateBedrockMetadata(EntityMetadata entityMetadata, GeyserSession session) {
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();
metadata.put(EntityData.PUFFERFISH_SIZE, (byte) puffsize);
metadata.put(EntityData.VARIANT, puffsize);