We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88f016b commit fc905d6Copy full SHA for fc905d6
src/main/java/invtweaks/InvTweaksHandlerAutoRefill.java
@@ -186,6 +186,10 @@ public void run() {
186
log.warn("Autoreplace timout");
187
}*/
188
189
+ if(i < 0 || targetedSlot < 0) {
190
+ return;
191
+ }
192
+
193
// TODO: Look for better update detection now that this runs tick-based. It'll probably fail a bit if latency is > 50ms (1 tick)
194
// Since last tick, things might have changed
195
ItemStack stack = containerMgr.getItemStack(i);
0 commit comments