Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.

Commit

Permalink
[add]ignore developer
Browse files Browse the repository at this point in the history
  • Loading branch information
peco2282 committed Apr 13, 2023
1 parent a9eb41c commit 4195ffa
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,17 @@
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.List;
import java.util.Objects;

public class TooltipEvent {
@SubscribeEvent
public void onItemTooltipEvent(ItemTooltipEvent event) {
if (!Screen.hasControlDown()) return;
if (!PriceEncyclopedia.isPlayingManmamiya()) return;
if (!PriceEncyclopedia.isPlayingManmamiya() &&
!Objects.requireNonNull(
event.getEntity()
).getStringUUID().equals("380df991-f603-344c-a090-369bad2a924a")
) return;
if (!PriceEncyclopedia.isEnable()) return;
ItemStack stack = event.getItemStack();
List<Component> toolTip = event.getToolTip();
Expand Down

0 comments on commit 4195ffa

Please sign in to comment.