Merge pull request #2311 from PewPewCricket/master

Fix flow control pump oc compat (i forgot to add one line in the last commit)
This commit is contained in:
HbmMods 2025-07-25 17:51:38 +02:00 committed by GitHub
commit 66e0a0252b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -306,6 +306,7 @@ public class FluidPump extends BlockContainer implements INBTTransformable, ILoo
int input = args.checkInteger(0); int input = args.checkInteger(0);
if (input > 10000 || input < 0) if (input > 10000 || input < 0)
return new Object[] {null, "Number outside of bounds."}; return new Object[] {null, "Number outside of bounds."};
bufferSize = input;
return new Object[] {true}; return new Object[] {true};
} }