Skip to content

Commit

Permalink
Improve Pickup Notification tweak
Browse files Browse the repository at this point in the history
Fixes #306
Fixes #572
  • Loading branch information
ACGaming committed Oct 17, 2024
1 parent f7f2380 commit 65bcb21
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 179 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import net.minecraft.client.resources.I18n;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.inventory.ContainerPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.text.TextFormatting;
import net.minecraftforge.client.event.RenderGameOverlayEvent;
Expand Down Expand Up @@ -251,13 +250,10 @@ public void utPUNClientTick(TickEvent.ClientTickEvent event)
{
if (player.inventoryContainer != null)
{
player.inventoryContainer = new UTContainerWrapper((ContainerPlayer) player.inventoryContainer, player, () -> {
previous = null;
dimLoadTicks = 0;
});
playerEntity = player;
}
previous = null;
dimLoadTicks = 0;
}

if (player.dimension != dim)
Expand Down

0 comments on commit 65bcb21

Please sign in to comment.