mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-11 01:51:37 +01:00
Optimize Hoppers
This commit is contained in:
parent
0347d9b819
commit
f229e2c798
@ -58,7 +58,7 @@ public class InventoryMoveItemEvent extends Event implements Cancellable {
|
|||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
public ItemStack getItem() {
|
public ItemStack getItem() {
|
||||||
return itemStack.clone();
|
return itemStack; // Paper - Removed clone, handled better in Server
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user