mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
2.1.144
This commit is contained in:
parent
419a810a1e
commit
480f9afa80
@ -6,11 +6,14 @@ Version 2.1.144
|
|||||||
Lowered the XP ceiling of Roll
|
Lowered the XP ceiling of Roll
|
||||||
Fixed a NPE that would happen involving taming in combat processing
|
Fixed a NPE that would happen involving taming in combat processing
|
||||||
Updated hu_HU locale (thanks andris155)
|
Updated hu_HU locale (thanks andris155)
|
||||||
|
Fixed a bug where mcMMO could erase item data on Wheat Seeds when using Green Thumb on a block
|
||||||
|
Changed one of the PlayerInteractEvent listeners to ignore cancelled events (should improve plugin compatibility)
|
||||||
mmodebug mode now prints some information when fuel efficiency is applied to a furnace
|
mmodebug mode now prints some information when fuel efficiency is applied to a furnace
|
||||||
|
|
||||||
NOTES:
|
NOTES:
|
||||||
I seem to consistently find old bugs in mcMMO, this deflect bug where it was checked twice, who knows how many years its been in mcMMO, I didn't check but its probably between 5-7.
|
I seem to consistently find old bugs in mcMMO, this deflect bug where it was checked twice, who knows how many years its been in mcMMO, I didn't check but its probably between 5-7.
|
||||||
I was waiting to make Steel Arm Customizable for the config update (due in the future), but enough people ask for it that I decided to do the extra work to put it into 2.1.XX
|
I was waiting to make Steel Arm Customizable for the config update (due in the future), but enough people ask for it that I decided to do the extra work to put it into 2.1.XX
|
||||||
|
Tridents & Crossbows is likely going to be in development continuing into September, I am taking my time to make it feature packed and I hope you guys will appreciate it.
|
||||||
|
|
||||||
Version 2.1.143
|
Version 2.1.143
|
||||||
mcMMO now tracks super ability boosted items through persistent metadata
|
mcMMO now tracks super ability boosted items through persistent metadata
|
||||||
|
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||||
<artifactId>mcMMO</artifactId>
|
<artifactId>mcMMO</artifactId>
|
||||||
<version>2.1.144-SNAPSHOT</version>
|
<version>2.1.144</version>
|
||||||
<name>mcMMO</name>
|
<name>mcMMO</name>
|
||||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||||
<scm>
|
<scm>
|
||||||
|
@ -367,7 +367,7 @@ public class EntityListener implements Listener {
|
|||||||
Player defendingPlayer = (Player) defender;
|
Player defendingPlayer = (Player) defender;
|
||||||
Player attackingPlayer;
|
Player attackingPlayer;
|
||||||
|
|
||||||
//If the attacker is a Player or a projectile beloning to a player
|
//If the attacker is a Player or a projectile belonging to a player
|
||||||
if(attacker instanceof Projectile || attacker instanceof Player) {
|
if(attacker instanceof Projectile || attacker instanceof Player) {
|
||||||
if(attacker instanceof Projectile) {
|
if(attacker instanceof Projectile) {
|
||||||
Projectile projectile = (Projectile) attacker;
|
Projectile projectile = (Projectile) attacker;
|
||||||
|
@ -711,7 +711,7 @@ public class PlayerListener implements Listener {
|
|||||||
*
|
*
|
||||||
* @param event The event to monitor
|
* @param event The event to monitor
|
||||||
*/
|
*/
|
||||||
@EventHandler(priority = EventPriority.MONITOR)
|
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
|
||||||
public void onPlayerInteractMonitor(PlayerInteractEvent event) {
|
public void onPlayerInteractMonitor(PlayerInteractEvent event) {
|
||||||
/* WORLD BLACKLIST CHECK */
|
/* WORLD BLACKLIST CHECK */
|
||||||
if(WorldBlacklist.isWorldBlacklisted(event.getPlayer().getWorld()))
|
if(WorldBlacklist.isWorldBlacklisted(event.getPlayer().getWorld()))
|
||||||
@ -804,7 +804,8 @@ public class PlayerListener implements Listener {
|
|||||||
FakePlayerAnimationEvent fakeSwing = new FakePlayerAnimationEvent(event.getPlayer()); //PlayerAnimationEvent compat
|
FakePlayerAnimationEvent fakeSwing = new FakePlayerAnimationEvent(event.getPlayer()); //PlayerAnimationEvent compat
|
||||||
if (herbalismManager.canGreenThumbBlock(blockState)) {
|
if (herbalismManager.canGreenThumbBlock(blockState)) {
|
||||||
Bukkit.getPluginManager().callEvent(fakeSwing);
|
Bukkit.getPluginManager().callEvent(fakeSwing);
|
||||||
player.getInventory().setItemInMainHand(new ItemStack(Material.WHEAT_SEEDS, heldItem.getAmount() - 1));
|
player.getInventory().getItemInMainHand().setAmount(heldItem.getAmount() - 1);
|
||||||
|
player.updateInventory();
|
||||||
if (herbalismManager.processGreenThumbBlocks(blockState) && EventUtils.simulateBlockBreak(block, player, false)) {
|
if (herbalismManager.processGreenThumbBlocks(blockState) && EventUtils.simulateBlockBreak(block, player, false)) {
|
||||||
blockState.update(true);
|
blockState.update(true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user