mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-12-27 02:47:50 +01:00
Fix for unsupported method.
This commit is contained in:
parent
b4f040e685
commit
9516057674
@ -4,7 +4,7 @@ stages:
|
||||
variables:
|
||||
name: "UltimateStacker"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "1.4.3"
|
||||
version: "1.4.4"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
@ -49,7 +49,8 @@ public class Methods {
|
||||
((Tameable) newEntity).setOwner(((Tameable) toClone).getOwner());
|
||||
}
|
||||
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());
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user