mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
2.1.178
This commit is contained in:
parent
89c368e481
commit
12d0a220da
@ -1,3 +1,9 @@
|
||||
Version 2.1.178
|
||||
Item replacement in vanilla fishing override back to SALMON from AIR (see notes)
|
||||
|
||||
NOTES:
|
||||
Apparently can't set items to AIR, my bad. I'll look into another solution for fishing plugin compatibility soon.
|
||||
|
||||
Version 2.1.177
|
||||
Environmentally aware will now protect Wolves from Magma blocks
|
||||
Fixed a bug where mcMMO would fail to update a players name when it detected a name change
|
||||
|
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||
<artifactId>mcMMO</artifactId>
|
||||
<version>2.1.177</version>
|
||||
<version>2.1.178</version>
|
||||
<name>mcMMO</name>
|
||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||
<scm>
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user