mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-25 21:18:34 +01:00
Compare commits
2 commits
3d65dc34db
...
c2b2204696
Author | SHA1 | Date | |
---|---|---|---|
c2b2204696 | |||
2459348faa |
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ apply plugin: 'net.minecraftforge.gradle'
|
||||||
apply plugin: 'eclipse'
|
apply plugin: 'eclipse'
|
||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
version = '1.13.5'
|
version = '1.13.6'
|
||||||
group = 'de.ellpeck.prettypipes' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
group = 'de.ellpeck.prettypipes' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
archivesBaseName = 'PrettyPipes'
|
archivesBaseName = 'PrettyPipes'
|
||||||
|
|
||||||
|
|
|
@ -239,8 +239,8 @@ public class PipeBlockEntity extends BlockEntity implements MenuProvider, IPipeC
|
||||||
}
|
}
|
||||||
// totalSpace will be the amount of items that fit into the attached container
|
// totalSpace will be the amount of items that fit into the attached container
|
||||||
var totalSpace = 0;
|
var totalSpace = 0;
|
||||||
|
var copy = stack.copy();
|
||||||
for (var i = startSlot; i < slotAmount; i++) {
|
for (var i = startSlot; i < slotAmount; i++) {
|
||||||
var copy = stack.copy();
|
|
||||||
var maxStackSize = copy.getMaxStackSize();
|
var maxStackSize = copy.getMaxStackSize();
|
||||||
// if the container can store more than 64 items in this slot, then it's likely
|
// if the container can store more than 64 items in this slot, then it's likely
|
||||||
// a barrel or similar, meaning that the slot limit matters more than the max stack size
|
// a barrel or similar, meaning that the slot limit matters more than the max stack size
|
||||||
|
|
Loading…
Reference in a new issue