Fixup sendAllDataToRemote calls

Reduces unnecessary item copies by a lot
This commit is contained in:
Nassim Jahnke
2025-07-06 21:59:50 +02:00
parent b4466ec981
commit a939945148
34 changed files with 141 additions and 123 deletions
@@ -143,7 +143,7 @@ public class InventoryDragEvent extends InventoryInteractEvent {
*/
@NotNull
public Set<Integer> getRawSlots() {
return this.addedItems.keySet();
return Collections.unmodifiableSet(this.addedItems.keySet());
}
/**