mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-11-23 10:45:46 +01:00
Fix for autocrafting throwing an exception.
This commit is contained in:
parent
0c7341a1b4
commit
25066058f1
@ -216,6 +216,7 @@ public class Hopper {
|
||||
|
||||
public void setAutoCrafting(ItemStack autoCrafting) {
|
||||
this.autoCrafting = autoCrafting;
|
||||
if (autoCrafting != null)
|
||||
autoCrafting.setAmount(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user