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