Fixup sendAllDataToRemote calls
Reduces unnecessary item copies by a lot
This commit is contained in:
@@ -143,7 +143,7 @@ public class InventoryDragEvent extends InventoryInteractEvent {
|
||||
*/
|
||||
@NotNull
|
||||
public Set<Integer> getRawSlots() {
|
||||
return this.addedItems.keySet();
|
||||
return Collections.unmodifiableSet(this.addedItems.keySet());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user