Fix for llamas 1.8

This commit is contained in:
Brianna 2019-05-25 20:22:07 -04:00
parent 84ea6cf9fd
commit 671bc765de
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ stages:
variables:
name: "UltimateStacker"
path: "/builds/$CI_PROJECT_PATH"
version: "1.2.6"
version: "1.2.7"
build:
stage: build

View File

@ -102,7 +102,7 @@ public class Methods {
((Ageable) newEntity).setBaby();
}
if (killed instanceof Llama) {
if (UltimateStacker.getInstance().isServerVersionAtLeast(ServerVersion.V1_11) && killed instanceof Llama) {
((Llama) newEntity).setColor(((Llama) killed).getColor());
} else if (killed instanceof Sheep) {
((Sheep) newEntity).setColor(((Sheep) killed).getColor());