mirror of
https://github.com/YouHaveTrouble/Stand-in.git
synced 2026-05-12 06:26:56 +00:00
clean up prototype code
This commit is contained in:
@@ -2,6 +2,7 @@ package me.youhavetrouble.standin.converter;
|
||||
|
||||
import me.youhavetrouble.standin.StandIn;
|
||||
import org.bukkit.entity.ArmorStand;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.Mannequin;
|
||||
import org.bukkit.inventory.EquipmentSlot;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -18,6 +19,16 @@ public class MannequinToArmorStandConverter implements EntityConverter<Mannequin
|
||||
return ArmorStand.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull EntityType entityFromType() {
|
||||
return EntityType.MANNEQUIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull EntityType entityToType() {
|
||||
return EntityType.ARMOR_STAND;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArmorStand spawn(@NotNull Mannequin from) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user