mirror of
https://github.com/YouHaveTrouble/Stand-in.git
synced 2026-05-11 22:16:55 +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 ArmorStandToMannequinConverter implements EntityConverter<ArmorStan
|
||||
return Mannequin.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull EntityType entityFromType() {
|
||||
return EntityType.ARMOR_STAND;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull EntityType entityToType() {
|
||||
return EntityType.MANNEQUIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Mannequin spawn(@NotNull ArmorStand from) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user