Fixed skeleton issue in 1.12

This commit is contained in:
Brianna 2019-06-28 18:03:56 -04:00
parent 06b4f73db0
commit c2d5a0082e
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ stages:
variables: variables:
name: "UltimateStacker" name: "UltimateStacker"
path: "/builds/$CI_PROJECT_PATH" path: "/builds/$CI_PROJECT_PATH"
version: "1.5.5" version: "1.5.6"
build: build:
stage: build stage: build

View File

@ -61,7 +61,7 @@ public class Methods {
} }
case SKELETON_TYPE: { case SKELETON_TYPE: {
if (!(toClone instanceof Skeleton) if (!(toClone instanceof Skeleton)
|| UltimateStacker.getInstance().isServerVersionAtLeast(ServerVersion.V1_13)) break; || UltimateStacker.getInstance().isServerVersionAtLeast(ServerVersion.V1_12)) break;
((Skeleton) newEntity).setSkeletonType(((Skeleton) toClone).getSkeletonType()); ((Skeleton) newEntity).setSkeletonType(((Skeleton) toClone).getSkeletonType());
break; break;
} }