mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-27 04:25:21 +01:00
Fix for unsupported method.
This commit is contained in:
parent
b4f040e685
commit
9516057674
@ -4,7 +4,7 @@ stages:
|
|||||||
variables:
|
variables:
|
||||||
name: "UltimateStacker"
|
name: "UltimateStacker"
|
||||||
path: "/builds/$CI_PROJECT_PATH"
|
path: "/builds/$CI_PROJECT_PATH"
|
||||||
version: "1.4.3"
|
version: "1.4.4"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
|
@ -49,7 +49,8 @@ public class Methods {
|
|||||||
((Tameable) newEntity).setOwner(((Tameable) toClone).getOwner());
|
((Tameable) newEntity).setOwner(((Tameable) toClone).getOwner());
|
||||||
}
|
}
|
||||||
case SKELETON_TYPE: {
|
case SKELETON_TYPE: {
|
||||||
if (!(toClone instanceof Skeleton)) break;
|
if (!(toClone instanceof Skeleton)
|
||||||
|
|| UltimateStacker.getInstance().isServerVersionAtLeast(ServerVersion.V1_13)) break;
|
||||||
((Skeleton) newEntity).setSkeletonType(((Skeleton) toClone).getSkeletonType());
|
((Skeleton) newEntity).setSkeletonType(((Skeleton) toClone).getSkeletonType());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user