[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am sorry art comment moove #105

Merged
merged 17 commits into from
Oct 25, 2021
Prev Previous commit
Next Next commit
Moved comments 5
  • Loading branch information
IAmSorryArt committed Oct 24, 2021
commit 08d729b304cb7bf874c2973d60ea157140b45cd4
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@ public void onBlockUnregistered(Location location) {
if (getProcessing() != null && dropsItemsOnBreak()) {
// dump contents on floor (could make a big mess)
Location current = getLocation();
storageAmount = Math.min(4096, storageAmount); // max 64 stacks will be dropped
// max 64 stacks will be dropped
storageAmount = Math.min(4096, storageAmount);

while (storageAmount > 0) {
ItemStack stack = stored.clone();
Expand Down