Pass the 'includeName' flag to the ItemTossEvent (#7894)

This commit is contained in:
SuperMartijn642 authored and GitHub committed 2021-07-24 16:52:19 +02:00
1 parent 119ac8f4ab
commit eeec737188
1 file changed
+1 -1
@@ -76,7 +76,7 @@
@Nullable
public ItemEntity m_36176_(ItemStack p_36177_, boolean p_36178_) {
- return this.m_7197_(p_36177_, false, p_36178_);
+ return net.minecraftforge.common.ForgeHooks.onPlayerTossEvent(this, p_36177_, false);
+ return net.minecraftforge.common.ForgeHooks.onPlayerTossEvent(this, p_36177_, p_36178_);
}
@Nullable