1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-07-07 16:14:42 +02:00
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
Changelog.txtpom.xml
src/main/java/com/gmail/nossr50/listeners

@ -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);