mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-23 10:35:22 +01:00
Fix for llamas 1.8
This commit is contained in:
parent
84ea6cf9fd
commit
671bc765de
@ -4,7 +4,7 @@ stages:
|
||||
variables:
|
||||
name: "UltimateStacker"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "1.2.6"
|
||||
version: "1.2.7"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user