Fix build error

This commit is contained in:
Tofaa2 2025-03-31 21:35:44 +04:00
parent 7298de0bb7
commit 53e4d917cd
4 changed files with 2 additions and 10 deletions

View file

@ -1,7 +1,6 @@
package me.tofaa.entitylib.meta;
import com.github.retrooper.packetevents.protocol.entity.type.EntityType;
import com.github.retrooper.packetevents.protocol.entity.type.EntityTypes;
import me.tofaa.entitylib.meta.display.BlockDisplayMeta;
import me.tofaa.entitylib.meta.display.ItemDisplayMeta;
import me.tofaa.entitylib.meta.display.TextDisplayMeta;

View file

@ -30,14 +30,6 @@ public class ShulkerMeta extends MobMeta {
super.metadata.setIndex(OFFSET, EntityDataTypes.INT, value.ordinal());
}
public Optional<Vector3i> getAttachmentPosition() {
return super.metadata.getIndex(offset(OFFSET, 1), Optional.empty());
}
public void setAttachmentPosition(Vector3i value) {
super.metadata.setIndex(offset(OFFSET, 1), EntityDataTypes.OPTIONAL_BLOCK_POSITION, Optional.of(value));
}
public byte getShieldHeight() {
return super.metadata.getIndex(offset(OFFSET, 1), (byte) 0);
}

View file

@ -27,6 +27,7 @@ public class ViewerEngine {
private Executor executor;
private boolean enabled = false;
/**
* Creates an instance of ViewerEngine
* It is recommended to specify explicitly the Executor that should be used.

View file

@ -34,7 +34,7 @@ include(":platforms:spigot")
include(":platforms:velocity")
include(":platforms:standalone")
if (!System.getenv("JITPACK").toBoolean()) {
if (System.getenv("PRIVATE").toBoolean()) {
include("discord-bot")
include(":code-gen")
include(":test-plugin")