mirror of
https://github.com/songoda/UltimateStacker.git
synced 2025-03-12 14:39:12 +01:00
Fix for ocelots in 1.14
This commit is contained in:
parent
fc2aba567e
commit
b606d33c44
@ -4,7 +4,7 @@ stages:
|
||||
variables:
|
||||
name: "UltimateStacker"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "1.8.3"
|
||||
version: "1.8.4"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
@ -217,7 +217,8 @@ public class Methods {
|
||||
break;
|
||||
}
|
||||
case OCELOT_TYPE: {
|
||||
if (!(toClone instanceof Ocelot)) break;
|
||||
if (!(toClone instanceof Ocelot)
|
||||
|| UltimateStacker.getInstance().isServerVersionAtLeast(ServerVersion.V1_14)) break;
|
||||
((Ocelot) newEntity).setCatType(((Ocelot) toClone).getCatType());
|
||||
}
|
||||
case CAT_TYPE: {
|
||||
@ -719,6 +720,7 @@ public class Methods {
|
||||
public static class Tuple<key, value> {
|
||||
public final key x;
|
||||
public final value y;
|
||||
|
||||
public Tuple(key x, value y) {
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
|
Loading…
Reference in New Issue
Block a user