mirror of
https://github.com/songoda/UltimateStacker.git
synced 2025-01-19 05:51:23 +01:00
Merge branch 'development'
This commit is contained in:
commit
bc7917807d
@ -4,7 +4,7 @@ stages:
|
|||||||
variables:
|
variables:
|
||||||
name: "UltimateStacker"
|
name: "UltimateStacker"
|
||||||
path: "/builds/$CI_PROJECT_PATH"
|
path: "/builds/$CI_PROJECT_PATH"
|
||||||
version: "1.10.20"
|
version: "1.10.21"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
|
@ -19,6 +19,7 @@ public class DropUtils {
|
|||||||
|
|
||||||
ItemStack droppedItem = drop.getItemStack();
|
ItemStack droppedItem = drop.getItemStack();
|
||||||
if (droppedItem != null) {
|
if (droppedItem != null) {
|
||||||
|
droppedItem = droppedItem.clone();
|
||||||
boolean success = false;
|
boolean success = false;
|
||||||
for (ItemStack item : items) {
|
for (ItemStack item : items) {
|
||||||
if (item.getType() != droppedItem.getType()
|
if (item.getType() != droppedItem.getType()
|
||||||
|
Loading…
Reference in New Issue
Block a user