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 87f49e0 commit fe9b68cCopy full SHA for fe9b68c
src/main/java/aztech/modern_industrialization/inventory/AbstractConfigurableStack.java
@@ -181,7 +181,7 @@ public boolean isMachineLocked() {
181
182
public void enableMachineLock(T lockedInstance) {
183
if (this.lockedInstance != null && lockedInstance != this.lockedInstance)
184
- throw new RuntimeException("Trying to override locked instance");
+ throw new RuntimeException("Trying to override locked instance from %s to %s".formatted(this.lockedInstance, lockedInstance));
185
machineLocked = true;
186
this.lockedInstance = lockedInstance;
187
notifyListeners();
0 commit comments