General toying with the enchantments for the Omega armour, tweaked the ritual diviner's functionality, fixed teleposers not teleposing players in certain circumstances.
This commit is contained in:
parent
bab6e576d2
commit
ab0c49f8c7
35 changed files with 360 additions and 69 deletions
|
@ -34,7 +34,7 @@ public class AdvancedCompressionHandler extends CompressionHandler
|
|||
int threshold = CompressionRegistry.getItemThreshold(invStack);
|
||||
|
||||
int needed = i*i;
|
||||
int neededLeft = iterateThroughInventory(invStack, threshold, inv, needed, false);
|
||||
int neededLeft = iterateThroughInventory(invStack, threshold + invStack.getMaxStackSize() - needed, inv, needed, false);
|
||||
if(neededLeft <= 0)
|
||||
{
|
||||
iterateThroughInventory(invStack, 0, inv, needed, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue