mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-12-03 15:33:28 +01:00
Restrict derp to 1.9.4+
This commit is contained in:
parent
58cf622fc2
commit
b4ae761932
@ -125,7 +125,8 @@ public class EntityUtils {
|
||||
break;
|
||||
}
|
||||
case SNOWMAN_DERPED: {
|
||||
if (!(toClone instanceof Snowman)) break;
|
||||
if (!ServerVersion.isServerVersionAtLeast(ServerVersion.V1_9)
|
||||
|| !(toClone instanceof Snowman)) break;
|
||||
((Snowman) newEntity).setDerp(((Snowman) toClone).isDerp());
|
||||
break;
|
||||
}
|
||||
@ -315,7 +316,8 @@ public class EntityUtils {
|
||||
break;
|
||||
}
|
||||
case SNOWMAN_DERPED: {
|
||||
if (!(initalEntity instanceof Snowman)) break;
|
||||
if (!ServerVersion.isServerVersionAtLeast(ServerVersion.V1_9)
|
||||
|| !(initalEntity instanceof Snowman)) break;
|
||||
|
||||
Snowman snowman = ((Snowman) initalEntity);
|
||||
if (snowman.isDerp()) {
|
||||
|
Loading…
Reference in New Issue
Block a user