Fixed issue with breeding.

This commit is contained in:
Brianna O'Keefe 2018-12-28 20:29:37 -05:00
parent bef273b0ca
commit 228fc90c51
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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);