mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-27 12:35:17 +01:00
Fix for llamas 1.8
This commit is contained in:
parent
84ea6cf9fd
commit
671bc765de
@ -4,7 +4,7 @@ stages:
|
|||||||
variables:
|
variables:
|
||||||
name: "UltimateStacker"
|
name: "UltimateStacker"
|
||||||
path: "/builds/$CI_PROJECT_PATH"
|
path: "/builds/$CI_PROJECT_PATH"
|
||||||
version: "1.2.6"
|
version: "1.2.7"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
|
@ -102,7 +102,7 @@ public class Methods {
|
|||||||
((Ageable) newEntity).setBaby();
|
((Ageable) newEntity).setBaby();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (killed instanceof Llama) {
|
if (UltimateStacker.getInstance().isServerVersionAtLeast(ServerVersion.V1_11) && killed instanceof Llama) {
|
||||||
((Llama) newEntity).setColor(((Llama) killed).getColor());
|
((Llama) newEntity).setColor(((Llama) killed).getColor());
|
||||||
} else if (killed instanceof Sheep) {
|
} else if (killed instanceof Sheep) {
|
||||||
((Sheep) newEntity).setColor(((Sheep) killed).getColor());
|
((Sheep) newEntity).setColor(((Sheep) killed).getColor());
|
||||||
|
Loading…
Reference in New Issue
Block a user