This commit is contained in:
nossr50
2021-03-05 20:14:48 -08:00
parent 89c368e481
commit 12d0a220da
3 changed files with 8 additions and 2 deletions

View File

@ -298,7 +298,7 @@ public class PlayerListener implements Listener {
fishingCatch.getItemStack().getType() != Material.TROPICAL_FISH &&
fishingCatch.getItemStack().getType() != Material.PUFFERFISH) {
ItemStack replacementCatch = new ItemStack(Material.AIR);
ItemStack replacementCatch = new ItemStack(Material.SALMON, 1);
McMMOReplaceVanillaTreasureEvent replaceVanillaTreasureEvent = new McMMOReplaceVanillaTreasureEvent(fishingCatch, replacementCatch);
Bukkit.getPluginManager().callEvent(replaceVanillaTreasureEvent);