Fix axolotl meta (#738)

This commit is contained in:
EpicPlayerA10 2022-03-06 15:16:55 +01:00 committed by GitHub
parent 2f6e3b62b0
commit 2e73f00331
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,10 +2,11 @@ package net.minestom.server.entity.metadata.water;
import net.minestom.server.entity.Entity;
import net.minestom.server.entity.Metadata;
import net.minestom.server.entity.metadata.animal.AnimalMeta;
import org.jetbrains.annotations.NotNull;
public class AxolotlMeta extends WaterAnimalMeta {
public static final byte OFFSET = WaterAnimalMeta.MAX_OFFSET;
public class AxolotlMeta extends AnimalMeta {
public static final byte OFFSET = AnimalMeta.MAX_OFFSET;
public static final byte MAX_OFFSET = OFFSET + 3;
public AxolotlMeta(@NotNull Entity entity, @NotNull Metadata metadata) {