This commit is contained in:
Brianna 2019-07-18 20:50:29 -04:00
parent d2f498de87
commit ea86b1214d
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ stages:
variables:
name: "UltimateStacker"
path: "/builds/$CI_PROJECT_PATH"
version: "1.6.9"
version: "1.7"
build:
stage: build

View File

@ -246,7 +246,7 @@ public class StackingTask extends BukkitRunnable {
int maxEntityStackAmount = getEntityStackSize(livingEntity);
if (stackSize <= maxEntityStackAmount) return false;
for (int i = stackSize; i > 0; i -= maxEntityStackAmount)
this.processed.add(instance.getEntityStackManager()
.addStack(Methods.newEntity(livingEntity), i > maxEntityStackAmount ? maxEntityStackAmount : i).getEntityUniqueId());