Added safety register for properties, also doing a debug value using "visibility" property

This commit is contained in:
OmeWillem
2024-07-03 23:05:05 +02:00
parent 5c62516182
commit 77384818f4
3 changed files with 26 additions and 1 deletions

View File

@@ -6,7 +6,10 @@ import com.ticxo.modelengine.api.entity.BukkitEntity;
import com.ticxo.modelengine.api.model.ActiveModel;
import com.ticxo.modelengine.api.model.ModeledEntity;
import lombok.Getter;
import me.zimzaza4.geyserutils.spigot.api.PlayerUtils;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.metadata.FixedMetadataValue;
@@ -41,7 +44,6 @@ public class ModelEntity {
this.activeModel = model;
this.entity = spawnEntity();
runEntityTask();
}
public void teleportToModel() {