mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-12-27 10:57:43 +01:00
Fixed skeleton issue in 1.12
This commit is contained in:
parent
06b4f73db0
commit
c2d5a0082e
@ -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
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user