mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-23 10:35:22 +01:00
Version
This commit is contained in:
parent
d2f498de87
commit
ea86b1214d
@ -4,7 +4,7 @@ stages:
|
||||
variables:
|
||||
name: "UltimateStacker"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "1.6.9"
|
||||
version: "1.7"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user