mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
Pass the 'includeName' flag to the ItemTossEvent (#7758)
This commit is contained in:
1 parent
064ae6961b
commit
98bae44a3a
1 file changed
+1
-1
@@ -84,7 +84,7 @@
|
||||
@Nullable
|
||||
public ItemEntity func_71019_a(ItemStack p_71019_1_, boolean p_71019_2_) {
|
||||
- return this.func_146097_a(p_71019_1_, false, p_71019_2_);
|
||||
+ return net.minecraftforge.common.ForgeHooks.onPlayerTossEvent(this, p_71019_1_, false);
|
||||
+ return net.minecraftforge.common.ForgeHooks.onPlayerTossEvent(this, p_71019_1_, p_71019_2_);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
||||
Reference in new issue
Block a user