mirror of
https://github.com/songoda/UltimateStacker.git
synced 2025-01-17 04:51:29 +01:00
Fixed issue with breeding.
This commit is contained in:
parent
bef273b0ca
commit
228fc90c51
@ -5,7 +5,7 @@ variables:
|
|||||||
name: "UltimateStacker"
|
name: "UltimateStacker"
|
||||||
suffex: "Legacy"
|
suffex: "Legacy"
|
||||||
path: "/builds/Songoda/$name"
|
path: "/builds/Songoda/$name"
|
||||||
version: "1.1"
|
version: "1.1.1"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
|
@ -48,7 +48,7 @@ public class InteractListeners implements Listener {
|
|||||||
|
|
||||||
EntityStack stack = instance.getEntityStackManager().getStack(entity);
|
EntityStack stack = instance.getEntityStackManager().getStack(entity);
|
||||||
|
|
||||||
if (stack.getAmount() == 1) return;
|
if (stack.getAmount() <= 1) return;
|
||||||
|
|
||||||
if (item.getType() == Material.NAME_TAG)
|
if (item.getType() == Material.NAME_TAG)
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user