mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2026-02-17 17:32:36 +01:00
improved compatibility with Excellent Enchants
This commit is contained in:
@@ -5,10 +5,12 @@ Version 2.2.049
|
|||||||
Fixed copper items not giving XP for Repair (thanks Remski01)
|
Fixed copper items not giving XP for Repair (thanks Remski01)
|
||||||
Fixed edge case where mcMMO could drop items with stack size set outside normal bounds
|
Fixed edge case where mcMMO could drop items with stack size set outside normal bounds
|
||||||
Fixed a bug where tamed wolves could cause errors on Folia (thanks Warriorrrr)
|
Fixed a bug where tamed wolves could cause errors on Folia (thanks Warriorrrr)
|
||||||
|
Improved compatibility with Excellent Enchants (fixed error spam from Flame Walker)
|
||||||
|
|
||||||
NOTES:
|
NOTES:
|
||||||
As a semi-permanent work around, mcMMO keeps track of when players swing their weapon, if they have swung it recently enough combat skills will work even if you have a spear in your off-hand.
|
As a semi-permanent work around, mcMMO keeps track of when players swing their weapon, if they have swung it recently enough combat skills will work even if you have a spear in your off-hand.
|
||||||
Prior to this patch, mcMMO disabled combat abilities when spear was in off-hand to prevent the off-hand spear charge from applying combat abilities from other skills, as mcMMO was unable to determine which item (mainhand vs offhand) caused the damage from the event information alone.
|
Prior to this patch, mcMMO disabled combat abilities when spear was in off-hand to prevent the off-hand spear charge from applying combat abilities from other skills, as mcMMO was unable to determine which item (mainhand vs offhand) caused the damage from the event information alone.
|
||||||
|
|
||||||
Version 2.2.048
|
Version 2.2.048
|
||||||
Fixed error when loading Spears skill manager on older Minecraft versions
|
Fixed error when loading Spears skill manager on older Minecraft versions
|
||||||
Fixed error when using /spears command on an older Minecraft version
|
Fixed error when using /spears command on an older Minecraft version
|
||||||
|
|||||||
@@ -259,7 +259,7 @@ public class BlockListener implements Listener {
|
|||||||
*/
|
*/
|
||||||
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
|
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
|
||||||
public void onBlockFormEvent(BlockFormEvent event) {
|
public void onBlockFormEvent(BlockFormEvent event) {
|
||||||
World world = event.getBlock().getWorld();
|
final World world = event.getBlock().getWorld();
|
||||||
|
|
||||||
/* WORLD BLACKLIST CHECK */
|
/* WORLD BLACKLIST CHECK */
|
||||||
if (WorldBlacklist.isWorldBlacklisted(world)) {
|
if (WorldBlacklist.isWorldBlacklisted(world)) {
|
||||||
@@ -267,7 +267,11 @@ public class BlockListener implements Listener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ExperienceConfig.getInstance().preventStoneLavaFarming()) {
|
if (ExperienceConfig.getInstance().preventStoneLavaFarming()) {
|
||||||
BlockState newState = event.getNewState();
|
final BlockState newState = event.getNewState();
|
||||||
|
if (!newState.isPlaced()) {
|
||||||
|
// not backed by a real block
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (newState.getType() != Material.OBSIDIAN
|
if (newState.getType() != Material.OBSIDIAN
|
||||||
&& ExperienceConfig.getInstance().doesBlockGiveSkillXP(
|
&& ExperienceConfig.getInstance().doesBlockGiveSkillXP(
|
||||||
|
|||||||
Reference in New Issue
Block a user