1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

Update OilPump.java

This commit is contained in:
coco0325 2019-12-22 17:08:44 +08:00
parent 4d63bffc72
commit 2ceb9d6d45

View File

@ -96,7 +96,7 @@ public abstract class OilPump extends AContainer {
processing.remove(b); processing.remove(b);
} }
} }
else if(inv.fits(SlimefunItems.BUCKET_OF_OIL, getOutputSlots())) { else if (inv.fits(SlimefunItems.BUCKET_OF_OIL, getOutputSlots())) {
for (int slot : getInputSlots()) { for (int slot : getInputSlots()) {
if (SlimefunManager.isItemSimilar(inv.getItemInSlot(slot), new ItemStack(Material.BUCKET), true)) { if (SlimefunManager.isItemSimilar(inv.getItemInSlot(slot), new ItemStack(Material.BUCKET), true)) {
OreGenResource oil = OreGenSystem.getResource("Oil"); OreGenResource oil = OreGenSystem.getResource("Oil");