NuclearW
7ccadae489
Changes to the changes to the ChatAPI.
...
mcMMO will not pass null for any events that it creates about itself.
Older plugins which are using depricated methods in ChatAPI will be null.
Newer plugins passing null to ChatAPI will also be null.
Null guarantees that it is not from mcMMO, but from an external plugin that is not specified.
2013-01-26 22:13:49 -05:00
jgeboski
251c152efa
McMMOChatEvent: added a field to hold the dispatching plugin
...
Currently, there is no sane way to detect which plugin dispatched
an McMMOChatEvent. This is problematic for plugins using the ChatAPI
while also listening for McMMOChatEvents as it leads to a message loop
being created.
A "simple" solution is to store a reference to the dispatching plugin in
the McMMOChatEvent. This allows for a plugin to determine if it is an
event dispatched by itself, or some other plugin. In addition, this can
allow for better control within third party plugins to determine where
McMMOChatEvents are dispatched from.
This patch is backwards with existing interfaces.
2013-01-26 21:07:36 -05:00
bm01
a8fa625b5c
Fixed parties not being loaded at startup
...
+ minor cleanup
2013-01-27 01:32:58 +01:00
TfT_02
5151be05b9
Update README.creole
2013-01-27 01:05:12 +01:00
bm01
3f44bd8eac
Fixed NPE in Database.checkConnected()
2013-01-27 00:28:03 +01:00
bm01
2eb593e163
Attempt to fix NPE spam when MySQL connection failed
...
This is how it was before my cleanup, I find what the
methods do and/or how they're named a little weird,
We may want to do something about it.
2013-01-27 00:07:30 +01:00
bm01
2356fda67a
Minor cleanup
2013-01-27 00:02:01 +01:00
bm01
bff7919c21
Major cleanup
2013-01-26 23:01:55 +01:00
TfT_02
f1075f800f
Cleanup, no need for this in PartyManager
2013-01-26 19:40:20 +01:00
TfT_02
473b9e8bbe
Add new party command /party rename
2013-01-26 19:31:17 +01:00
TfT_02
00c84e775f
For the sake of consistency, this should be 1.0 instead of 1
2013-01-26 16:26:32 +01:00
TfT_02
a1a630bad2
Update the local files with new party strings
2013-01-26 16:26:32 +01:00
TfT_02
b91b88a74b
Better feedback when trying to join a password protected party.
2013-01-26 16:26:32 +01:00
GJ
56e16acce4
Fix bug where smelting allowed for XP gain in Mining/Repair even if
...
permissions were not present.
2013-01-26 00:25:14 -05:00
TfT_02
4692a461eb
burnTimeModifier only needs show two decimal places
2013-01-26 02:13:10 +01:00
GJ
3e04bacf73
Tweak a few things with Herbalism.
2013-01-25 19:21:33 -05:00
bm01
a0a52a3433
Added the possibility to not use a max level for Fishing
...
by using a negative number, changed default
treasure.yml file accordingly
2013-01-26 01:04:24 +01:00
bm01
188ad359fe
Changed Fishing to always give a fish on a successful catch
2013-01-26 01:03:42 +01:00
TfT_02
d601496173
Reworked party commands.
...
Party commands are now all subcommands of /party. Use /party create
<party-name> to create a new party. To join an existing party, player
can now use /party join <player-name>. You can only join unlocked
parties. New parties are locked by default and require the party leader
to invite members.
2013-01-26 00:40:23 +01:00
GJ
85b909a7ab
Change some stuff around with ChatManager, change ChatAPI to route
...
through ChatManager.
2013-01-25 18:21:17 -05:00
GJ
18a4f5ed40
Fixed bug where Iron Grip was using the attacker's skill values rather
...
than the defender's
2013-01-25 17:57:42 -05:00
GJ
c4ec9a6df9
Fixed issues with combat abilities not checking cooldowns in last few
...
dev builds.
2013-01-25 17:21:18 -05:00
bm01
a4aebdc643
Forgot to change references
2013-01-25 22:44:32 +01:00
bm01
b61410b6eb
Make this constant
2013-01-25 22:34:35 +01:00
bm01
51d681974c
Re-added unbreaking enchant handling for Tree Feller
2013-01-25 22:32:52 +01:00
bm01
071f7edade
Fixed inverted check of mob spawner / egg entities
2013-01-25 21:45:52 +01:00
GJ
46f1157030
Clean up more of block listener.
2013-01-25 15:32:11 -05:00
GJ
3cca6d9ab4
Split the listener - those events don't need to happen at HIGHEST
...
priority.
2013-01-25 15:01:32 -05:00
GJ
91e8051cee
Fixed abilities activating with the wrong tool in hand
2013-01-25 13:54:32 -05:00
GJ
c220f0dee5
Fixed Leaf Blower not respected the unlock level set in advanced.yml
2013-01-25 12:41:39 -05:00
GJ
a7be57241c
Cleanup listeners a bit more. Also fix bug in recent dev builds where
...
placed blocks were not properly tracked.
2013-01-25 12:33:48 -05:00
GJ
a35af4dbe6
This is better & cleaner than just comparing the data.
2013-01-25 10:41:43 -05:00
GJ
329f779781
Refactor a bit
2013-01-25 00:56:23 -05:00
GJ
95fa688306
More cleanup.
2013-01-25 00:51:45 -05:00
GJ
3d275a4f53
Hopefully a better fix for the previously mentioned issue.
2013-01-24 23:54:07 -05:00
GJ
06cf0ff2c2
Temporary fix for some of our combat checks not being called properly. A
...
better fix will be coming soon.
2013-01-24 23:03:00 -05:00
GJ
ba7ebe1319
Minor Database refactoring.
2013-01-24 22:53:02 -05:00
GJ
3efc2138d6
Minor Spout refactoring
2013-01-24 22:47:12 -05:00
GJ
9b0cba9dbe
More listener cleanup
2013-01-24 22:43:15 -05:00
GJ
62a5d2db5c
Make sure we ignore cancelled events.
2013-01-24 22:24:07 -05:00
GJ
96d59a2e81
A little more cleanup
2013-01-24 22:22:02 -05:00
GJ
f5179cdcea
Fixing awkward Bukkit bug related to Flame arrows.
2013-01-24 21:55:56 -05:00
GJ
4639b8b939
Fix typo in /smelting command display. Fixes #580
2013-01-24 20:29:04 -05:00
GJ
9cdfebda9a
Trying to clean up duplicate checks & whatnot in our listeners.
2013-01-24 20:10:50 -05:00
GJ
7c59621c9e
More cleaning on listeners. Also fixes NPE with itemInHand, because
...
Bukkit is dumb.
2013-01-24 15:46:29 -05:00
GJ
8736aae2ef
Fix NPE when a furnace belonging to a player that has logged out keeps
...
burning.
2013-01-24 15:35:01 -05:00
GJ
76a987e1e0
PlayerListener cleanup
2013-01-24 14:19:26 -05:00
GJ
9dac898c1c
Fixes possible NPE when a furnace is destroyed while someone is still
...
viewing it.
2013-01-24 11:50:12 -05:00
GJ
ab677e941d
Start cleaning up the mess we've made of our listeners.
2013-01-24 11:50:12 -05:00
bm01
29d796b6af
Partially reverted my previous fix
...
ItemStack constructor actually worked,
the issue was about double drops using
the original data, not about TreeFeller.
2013-01-24 16:15:10 +01:00