File tree Expand file tree Collapse file tree
src/main/java/net/neganote/gtutilities/common/machine/singleblock Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33* Update to GTm 7.5.3
44* Add the Infinite Spray Can, acts like regular GTm spray cans but with selectable colors (including solvent) and has infinite uses
5- * Thanks Phoenixvine
5+ * Thanks Phoenixvine
6+ * Disabled by default, DOES NOT have a default crafting recipe
7+ * Fix auto charger not dropping its inventory when broken
Original file line number Diff line number Diff line change @@ -119,6 +119,10 @@ public void onLoad() {
119119 }
120120 }
121121
122+ public void onMachineRemoved () {
123+ this .clearInventory (this .chargerInventory );
124+ }
125+
122126 protected void updateAutoOutputSubscription () {
123127 if (isAutoOutputItems () && !chargerInventory .isEmpty ()) {
124128 autoOutputSubs = subscribeServerTick (autoOutputSubs , this ::autoOutput );
You can’t perform that action at this time.
0 commit comments