Add CartographyItemEvent

This commit is contained in:
Janet Blackquill
2024-04-07 16:52:42 -04:00
parent 70cd7cfb23
commit e57ad97c91
2 changed files with 55 additions and 37 deletions

View File

@@ -61,7 +61,8 @@
+ this.resultContainer = new ResultContainer(this.createBlockHolder(context)) { // Paper - Add missing InventoryHolders
@Override
public void setChanged() {
CartographyTableMenu.this.slotsChanged(this);
- CartographyTableMenu.this.slotsChanged(this);
+ // CartographyTableMenu.this.slotsChanged(this); // Paper - Add CatographyItemEvent - do not recompute results if the result slot changes - allows to set the result slot via api
super.setChanged();
}
+