mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Change Changelog to + = ! - system
Cleanup some unneded SuppressWarnings Monitor is where events that we don't cancel go, also we ignore cancelled events
This commit is contained in:
parent
f5451b7d59
commit
c74f43a1ad
@ -1,25 +1,31 @@
|
|||||||
Changelog:
|
Changelog:
|
||||||
#Versions without changelogs probably had very small misc fixes, like tweaks to the source code
|
Versions without changelogs probably had very small misc fixes, like tweaks to the source code
|
||||||
|
|
||||||
|
Key:
|
||||||
|
+ Addition
|
||||||
|
= Fix
|
||||||
|
! Change
|
||||||
|
- Removal
|
||||||
|
|
||||||
Version 1.3.00-dev
|
Version 1.3.00-dev
|
||||||
- Added ability to customize drops for Excavation skill
|
+ Added ability to customize drops for Excavation skill
|
||||||
- Added ability to customize drops for Fishing skill
|
+ Added ability to customize drops for Fishing skill
|
||||||
- Added player notification for when they stop Bleeding
|
+ Added player notification for when they stop Bleeding
|
||||||
- Added configuration option to control mcMMO reporting damage events
|
+ Added configuration option to control mcMMO reporting damage events
|
||||||
- Added hunger regain bonuses to Herbalism skill
|
+ Added hunger regain bonuses to Herbalism skill
|
||||||
- Added framework for new Blast Mining skill
|
+ Added framework for new Blast Mining skill
|
||||||
- Added Fast Food Service subskill to Taming
|
+ Added Fast Food Service subskill to Taming
|
||||||
- Re-added mcMMO reporting damage events
|
+ Re-added mcMMO reporting damage events
|
||||||
- Fixed /mcability not respecting permissions
|
= Fixed /mcability not respecting permissions
|
||||||
- Changed god mode to turn off if player enters world where he does not have mcgod permission
|
= Prettied up new config files
|
||||||
- Changed Taming to also gain XP from shearing
|
! Changed god mode to turn off if player enters world where he does not have mcgod permission
|
||||||
- Changed Taming to also gain XP from animal taming
|
! Changed Taming to also gain XP from shearing
|
||||||
- Changed Swords Bleeding effect to never kill
|
! Changed Taming to also gain XP from animal taming
|
||||||
- Changed Bleeding to never go beyond 10 ticks
|
! Changed Swords Bleeding effect to never kill
|
||||||
- Changed to use Bukkit's built-in ignoreCancelledEvents system
|
! Changed Bleeding to never go beyond 10 ticks
|
||||||
- Changed chat logging for /p & /a
|
! Changed to use Bukkit's built-in ignoreCancelledEvents system
|
||||||
- Changed Tree Feller to use per-use ArrayList
|
! Changed chat logging for /p & /a
|
||||||
- Prettied up new config files
|
! Changed Tree Feller to use per-use ArrayList
|
||||||
- Removed Master/Apprentice chat notifications to reduce spam
|
- Removed Master/Apprentice chat notifications to reduce spam
|
||||||
- Removed duplicate settings in config.yml
|
- Removed duplicate settings in config.yml
|
||||||
- Removed unused settings from config.yml (HP Regen)
|
- Removed unused settings from config.yml (HP Regen)
|
||||||
|
@ -3,7 +3,6 @@ package com.gmail.nossr50.events;
|
|||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||||
|
|
||||||
@SuppressWarnings("serial")
|
|
||||||
public class FakeEntityDamageByEntityEvent extends EntityDamageByEntityEvent {
|
public class FakeEntityDamageByEntityEvent extends EntityDamageByEntityEvent {
|
||||||
public FakeEntityDamageByEntityEvent(Entity damager, Entity damagee, DamageCause cause, int damage) {
|
public FakeEntityDamageByEntityEvent(Entity damager, Entity damagee, DamageCause cause, int damage) {
|
||||||
super(damager, damagee, cause, damage);
|
super(damager, damagee, cause, damage);
|
||||||
|
@ -25,7 +25,6 @@ import org.bukkit.inventory.ItemStack;
|
|||||||
/**
|
/**
|
||||||
* Called when mcMMO is preparing to drop an item
|
* Called when mcMMO is preparing to drop an item
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("serial")
|
|
||||||
public class McMMOItemSpawnEvent extends Event implements Cancellable {
|
public class McMMOItemSpawnEvent extends Event implements Cancellable {
|
||||||
private Location location;
|
private Location location;
|
||||||
private ItemStack itemStack;
|
private ItemStack itemStack;
|
||||||
|
@ -25,7 +25,6 @@ import com.gmail.nossr50.datatypes.SkillType;
|
|||||||
/**
|
/**
|
||||||
* Called when a user levels up in a skill
|
* Called when a user levels up in a skill
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("serial")
|
|
||||||
public class McMMOPlayerLevelUpEvent extends Event {
|
public class McMMOPlayerLevelUpEvent extends Event {
|
||||||
private Player player;
|
private Player player;
|
||||||
private SkillType skill;
|
private SkillType skill;
|
||||||
|
@ -22,7 +22,6 @@ import org.bukkit.event.HandlerList;
|
|||||||
|
|
||||||
import com.gmail.nossr50.datatypes.SkillType;
|
import com.gmail.nossr50.datatypes.SkillType;
|
||||||
|
|
||||||
@SuppressWarnings("serial")
|
|
||||||
public class McMMOPlayerXpGainEvent extends Event {
|
public class McMMOPlayerXpGainEvent extends Event {
|
||||||
private Player player;
|
private Player player;
|
||||||
private SkillType skill;
|
private SkillType skill;
|
||||||
|
@ -79,7 +79,7 @@ public class mcPlayerListener implements Listener
|
|||||||
plugin = instance;
|
plugin = instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
|
||||||
public void onPlayerWorldChangeEvent(PlayerChangedWorldEvent event)
|
public void onPlayerWorldChangeEvent(PlayerChangedWorldEvent event)
|
||||||
{
|
{
|
||||||
Player player = event.getPlayer();
|
Player player = event.getPlayer();
|
||||||
|
Loading…
Reference in New Issue
Block a user