Glitchfinder
707a388c51
Fixed an issue where dropped items did not retain custom NBT data.
2012-12-31 19:57:21 -08:00
Glitchfinder
d33334708d
Fixing recursion errors by switching from an unnecessary btree to a simple ArrayList.
2012-12-31 19:40:33 -08:00
Glitchfinder
0e853d44b7
Fixing a bug where repairing could leave items with the enchant effect but no enchantments.
2012-12-31 16:04:17 -08:00
Glitchfinder
e607e04af4
Merge pull request #396 from Glitchfinder/master
...
Fixes and Patches
2012-12-31 10:03:19 -08:00
TfT_02
802d1dfa8e
Fixed some mistakes with the path names #404
2012-12-31 18:40:15 +01:00
TfT_02
00279502e4
This does prevent using wood axes everytime you tree fell
2012-12-31 11:04:01 +01:00
TfT_02
cc18794a93
Don't damage the tool more than it's max durability
2012-12-31 11:00:27 +01:00
Glitchfinder
905e92fa4d
Adding the ability to track spawned mobs when chunks unload.
2012-12-30 19:51:26 -08:00
TfT_02
eed8a57ff9
Merge pull request #392 from TfT-02/master
...
Various fixed for issues in the issue tracker
2012-12-30 15:03:12 -08:00
TfT_02
2968803f29
Fixed formatting
2012-12-31 00:01:58 +01:00
TfT_02
6cf6e8ab54
This needs to be on this line.
2012-12-30 23:54:51 +01:00
TfT_02
3668249267
Iterate through the durability damage with Unbreaking check
2012-12-30 23:46:21 +01:00
Glitchfinder
28b092a4e3
Adding Bats, Giants, Withers, and Wither Skeletons to the combat experience list.
2012-12-30 12:33:38 -08:00
Glitchfinder
c0bba7dead
Merge pull request #395 from Glitchfinder/master
...
Fixing an issue where players repaired items a hundred times better than they should be able to.
2012-12-30 09:39:05 -08:00
Glitchfinder
7fc8d432b5
Fixing an issue where players repaired items a hundred times better than they should be able to.
2012-12-30 09:37:38 -08:00
TfT_02
db370418f8
Add version number to /mcmmo command
...
Also used the logger in onEnable and onDisable
2012-12-30 00:02:39 +01:00
TfT_02
43de871392
Fixed enchantments being ignored + removed uneccesary code
...
Fixed Unbreaking enchantments being ignored when using Treefelling and
when hit by Armor Impact
2012-12-29 22:38:57 +01:00
TfT_02
5e9c483892
Merge pull request #387 from dualspiral/EventFix
...
Don't fire Party Change event if player can't change parties
2012-12-29 13:12:10 -08:00
Glitchfinder
17169903b4
Merge pull request #391 from Glitchfinder/master
...
Fixing Data Value issues caused by the patch to deprecated ItemStack use.
2012-12-29 13:02:07 -08:00
Glitchfinder
aa70c82824
Fixing issues caused by the patch to deprecated ItemStack changes.
2012-12-29 12:59:18 -08:00
Daniel Naylor
73a5143a17
Check to see if players are eligible to join a party before the mcMMOPartyChangeEvent is fired
2012-12-29 13:15:58 +00:00
Glitchfinder
d35e56fd37
Merge pull request #383 from Glitchfinder/master
...
Fixing a few more NPEs.
2012-12-28 21:11:58 -08:00
Glitchfinder
cafed2d98c
Fixing remaining NPEs with custom blocks using vanilla IDs.
2012-12-28 21:11:22 -08:00
Glitchfinder
cd5df82d72
Fixing more NPEs with custom blocks.
2012-12-28 20:47:39 -08:00
Glitchfinder
5404371b35
Merge pull request #357 from TfT-02/master
...
Various fixes and patches
2012-12-28 12:19:44 -08:00
Glitchfinder
b9f2aa5eff
Fixing an NPE involving custom blocks. More investigation needed to find the source of the issue.
2012-12-28 12:14:25 -08:00
TfT_02
6f1ee88b78
Fixes issues #259 and #335
2012-12-28 11:40:15 +01:00
TfT_02
e5cc06e822
Fix for wrong datataypes
2012-12-28 02:12:34 +01:00
TfT_02
e13ba010bf
Adresses issue #364
2012-12-28 00:41:56 +01:00
Glitchfinder
b491090037
Repairing the Repair skill.
2012-12-27 15:08:10 -08:00
Glitchfinder
5177bf6c1f
Fixing level caps so that 0 represents no cap rather than 0.
2012-12-27 13:45:27 -08:00
Glitchfinder
37115d238b
Fixing broken skillreset command.
2012-12-27 12:35:30 -08:00
TfT_02
de3bae41ae
Implementing an durability cap for ArmorImpact
2012-12-27 17:36:12 +01:00
Glitchfinder
11b5c54c69
Reimplementing skill level and power level caps.
2012-12-26 19:54:20 -08:00
Glitchfinder
d367dbf767
Fixing compatibility with recent Spout updates. Why do people not understand the purpose of an API?
2012-12-25 21:22:38 -08:00
TfT_02
71471d3bbc
Added Wooden button to list of blocks that should not trigger abilities
2012-12-25 15:35:12 +01:00
gmcferrin
07e98ab79f
Fixed Async deprecation issues
2012-12-25 01:06:21 -05:00
gmcferrin
9af66a8e69
Fixed ItemStack deprecation issues.
2012-12-25 01:01:10 -05:00
Glitchfinder
5e965aec2c
Merge pull request #343 from Glitchfinder/fixes
...
Fixing conversions for a long to and int. for user data.
2012-12-24 14:58:31 -08:00
Glitchfinder
ecb38693db
Fixing conversions for a long to and int. for user data.
2012-12-24 14:57:36 -08:00
Grant
36d5344ded
Cleanup formatting.
2012-12-24 16:56:25 -05:00
Grant
6b3bde585d
Fixed some issues with static access
2012-12-24 16:17:33 -05:00
Grant
f7ea25be61
Fixed issue with Mining using actual skill level rather than max skill
...
level
2012-12-24 16:17:33 -05:00
Grant
9136530618
Removed unused imports
2012-12-24 16:17:33 -05:00
Grant
f4e7e6c74a
Added default cases to switch/case statements
2012-12-24 16:17:32 -05:00
Grant
c4766ad3fb
Remove dead code relating to null profiles.
2012-12-24 16:17:32 -05:00
Glitchfinder
c082290cf1
Fixing minor typo involving a binary operation instead of a check.
2012-12-24 12:25:23 -08:00
Glitchfinder
4cac324e9f
Fixing skill save timing and autosave features.
2012-12-24 12:19:19 -08:00
TfT_02
cdb5fed5a5
Changed bonus to float
...
Fixes bug where only 1 diamond was needed to fully repair an almost
broken diamond pickaxe
2012-12-24 13:00:50 +01:00
TfT_02
bb1dbab984
Iron golem and Snowman pumpkin drop rates are now 3% for the sake of consistency
2012-12-23 22:05:10 +01:00
TfT_02
8a97718dd4
Don't use MaterialData when its not needed.
2012-12-23 18:44:39 +01:00
TfT_02
01142b67c6
Changed skull drop rates to 3%
2012-12-23 00:00:29 +01:00
TfT_02
e0bba80f55
Made skulls drops more rare.
2012-12-22 11:17:48 +01:00
TfT_02
34276539fa
Got rid of reflection code, now uses Bukkit method to check if witherskeleton
2012-12-22 10:11:18 +01:00
TfT_02
4511dd79fa
Now uses proper gamemode check and uses Misc.dropItem
2012-12-22 10:10:54 +01:00
Glitchfinder
569079fed0
Fixing build issues caused by recent changes to CraftBukkit.
2012-12-06 11:11:12 -08:00
Glitchfinder
b042d78186
Fixing an error introduced by @TfT-02 that prevented the project from compiling.
2012-12-03 21:40:38 -08:00
Grant
abd051d07b
Merge pull request #332 from TfT-02/master
...
Fixed and patches
2012-12-03 21:08:58 -08:00
TfT_02
de93b11c25
Fixed an error where Greater Impact was confused with Armor Impact
2012-12-02 22:54:03 +01:00
TfT_02
7f16339bd9
Fixed a small bug where players could salvage items in creative mode
2012-12-02 22:44:26 +01:00
U-YUE\Sean
42dc6e7c4f
Fixing the broken repair config.
2012-11-29 12:24:56 -08:00
U-YUE\Sean
3153973c2b
Fiuxing merge issue.
2012-11-29 12:18:35 -08:00
Glitchfinder
cc044fe41b
Dealing with more minor typecasting issues.
2012-11-26 12:20:44 -08:00
Glitchfinder
0037524cfd
Fixing more errors with typecasting.
2012-11-25 16:40:42 -08:00
Glitchfinder
082fa2ca0d
Dealing with type conversion issues in the skill commands.
2012-11-25 16:18:30 -08:00
Glitchfinder
b1cf9d139a
Fixing some issues with Arcane Forging.
2012-11-24 15:47:28 -08:00
Glitchfinder
b8755b808e
Fixing perks spam on login.
2012-11-22 13:40:55 -08:00
Glitchfinder
139812b3bc
Trying to fix a new duping bug.
2012-11-22 13:15:01 -08:00
Glitchfinder
52f7120392
Resolving merge conflict.
2012-11-21 13:47:17 -08:00
TfT_02
0d2abb95b5
Adding AdvancedConfig
2012-11-21 21:49:54 +01:00
Grant
6b2adc9359
Merge pull request #318 from mastershake71/master
...
Fixes Nuker Dupe
2012-11-21 12:37:51 -08:00
mastershake71
e8152a3475
Solves nuker dupe glitch. Not all anti-cheat block damage, so check
...
and make sure both are allowed not just one.
2012-11-18 23:31:19 -05:00
Glitchfinder
6d42d14575
Fixed a bug where Herablism magically converted potatoes to carrots.
2012-11-15 16:34:57 -08:00
Glitchfinder
d2493e89ca
A few more minor things.
2012-11-13 14:31:02 -08:00
Glitchfinder
a61423aa99
Dealing with a few minor issues.
2012-11-13 14:27:58 -08:00
Glitchfinder
506efec858
Merge pull request #3 from TfT-02/master
...
Salvage ability for Repair
2012-11-13 13:37:04 -08:00
TfT_02
8e3320ad72
Hehe, you were soo right. This is MUCH cleaner to look at. :)
2012-11-13 22:28:56 +01:00
TfT_02
ff279bf633
Moved Salvage check to ItemChecks
2012-11-13 22:17:34 +01:00
TfT_02
a582b07549
Small error fix - As mentioned by Glitchfinder
2012-11-13 22:14:26 +01:00
TfT_02
1e7fef4557
Revert "/fishing command will now also display the bonus gained from lucky perk"
...
This reverts commit 1bf0cd1d15
.
2012-11-13 16:55:06 +01:00
TfT_02
f8b44cd8ce
New Salvage ability for Repair!
...
Added a fully working ability to Repair. With this ability you can
salvage items and get bars in return.
- Added new permission node for Salvage ability
- Added new config options for Salvage
- Added new locale strings for Salvage
- Added a check to make sure that Repair Anvil != Salvage Anvil
2012-11-13 16:50:00 +01:00
TfT_02
1bf0cd1d15
/fishing command will now also display the bonus gained from lucky perk
2012-11-13 10:08:05 +01:00
Glitchfinder
01f38537de
Fixing cooldown timers so that they display the proper cooldown for players with perks.
2012-11-12 21:57:57 -08:00
Glitchfinder
adbb20d7c9
Displaying all perks upon login, and adding them to the locale files.
2012-11-12 21:43:43 -08:00
Glitchfinder
c3c7fe08b6
Fixing a bug where an entity dealing 0 damage still earned experience.
2012-11-12 19:53:55 -08:00
Glitchfinder
4a52135a0b
Nerfing overpowered Herbalism double drops for melons and netherwart.
2012-11-12 19:10:14 -08:00
Glitchfinder
a56f805787
Modified drop rates for Fishing's Shake ability. Also reverted spacing to match the rest of the project.
2012-11-12 16:33:37 -08:00
Glitchfinder
3a467b3da4
Adding Fishermans Diet ability to fishing.
2012-11-12 16:18:27 -08:00
Glitchfinder
4500c4d407
Attempting to fix dupe bug with certain plugins and Super Breaker.
2012-11-12 14:58:32 -08:00
Grant
212b42c8b9
Merge pull request #305 from TfT-02/master
...
Changed the fishing skill shake + small fix for lucky perk in fishing
2012-11-11 11:45:55 -08:00
Grant
9c4ff30ce7
Merge pull request #304 from Glitchfinder/master
...
Attempting a minor reduction in lag for larger servers.
2012-11-11 11:45:11 -08:00
Glitchfinder
9a9e0cc7de
Modifying the amount of experience earned when using Tree Feller on jungle trees. It was nerfed a bit too much.
2012-11-10 12:45:54 -08:00
Glitchfinder
a8a90ee815
Fixing excessive null chunk before earning Woodcutting experience.
2012-11-10 12:43:08 -08:00
Glitchfinder
7859660ece
Adding herbalism green thumb ability to carrots, potatoes, and netherwart.
2012-11-09 16:37:12 -08:00
Glitchfinder
b93dafee63
Applying a temporary patch to stop the wrong sand and gravel from being flagged as touched by players.
2012-11-09 09:45:50 -08:00
TfT_02
a1a61e9d4a
Added new method for calculating the ShakeChance
2012-11-08 20:15:40 +01:00
TfT_02
464d6bdd35
Added the shake percentage
...
There are associated stats now.
Also added a '%' to Arcane chances in locale file
2012-11-08 20:15:02 +01:00
Glitchfinder
2c613d5b99
Fixing a null pointer error related to skill cooldowns.
2012-11-07 19:04:17 -08:00
Glitchfinder
d1f683b8a5
Adding the option to negate experience earned for Acrobatics or Herbalism while in a minecart to prevent afk leveling.
2012-11-07 18:41:18 -08:00
TfT_02
00364afd8f
Made the shake rank chance configurable
2012-11-07 14:02:30 +01:00
TfT_02
f5f07f7016
This wasn't right.
2012-11-07 13:32:30 +01:00
TfT_02
2bdeeb2d6e
Changed shake drops from guaranteed to based upon fishing level and perks.
2012-11-07 13:30:20 +01:00
Glitchfinder
f023529d37
Reducing filesystem usage. Should help reduce lag on larger servers. THIS IS NOT A PERMANENT SOLUTION.
2012-11-06 23:15:15 -08:00
Glitchfinder
88ed14fe5c
Fixing index error.
2012-11-05 20:14:23 -08:00
Glitchfinder
00a5bc5cf3
Fixing lag caused by conversion.
2012-11-05 19:48:41 -08:00
Glitchfinder
a17d58fe32
Fixing previous commit.
2012-11-05 19:42:18 -08:00
Glitchfinder
c21286dbc3
Offloading chunk conversion. SHould alleviate lag.
2012-11-05 19:28:00 -08:00
Glitchfinder
7fc99630e0
Resolving a few issues with playability. Should be a bit better.
2012-11-05 18:02:53 -08:00
Glitchfinder
3129acfc19
General cleanup for pull request.
2012-11-05 16:03:44 -08:00
Glitchfinder
c3dd777e44
Merge remote-tracking branch 'mcmmo/master'
2012-11-05 14:02:07 -08:00
Glitchfinder
91a18fe7a2
Fixing herbalism to look for cobble walls when trying to convert cobble walls.
2012-11-04 21:47:15 -08:00
Glitchfinder
62f5185a1b
Attempting to fix index error.
2012-11-04 20:36:47 -08:00
Glitchfinder
f4cb83319e
Fixes an NPE involving certain explosions.
2012-11-04 16:39:06 -08:00
Glitchfinder
c7b3b7a826
Green thumb now converts cobble walls to mossy cobble walls.
2012-11-04 16:06:33 -08:00
Glitchfinder
01fb245da3
Fixing double drops for herbalism so that carrots and potatoes drop items instead of blocks.
2012-11-04 15:54:22 -08:00
Glitchfinder
83e072dad1
Fixing a potential error with legacy chunklet types.
2012-11-04 13:43:14 -08:00
Glitchfinder
eb5ac80714
Updating modified block storage to a region-style format.
2012-11-04 13:36:57 -08:00
Glitchfinder
d532164cd6
Incorporating #287 due to incompatible edits.
2012-11-02 08:45:50 -07:00
Glitchfinder
61ae4826d1
Addresses issue #286 .
2012-11-01 16:43:59 -07:00
Glitchfinder
be4e62fe9d
Hopefully addresses part of the empty enchant issue.
2012-10-31 22:47:04 -07:00
Glitchfinder
d9346ab260
Fixing default experience for the newer herbalism materials.
2012-10-31 15:44:45 -07:00
Glitchfinder
87c4f318a4
Fixing fishing a bit.
2012-10-31 12:39:04 -07:00
Glitchfinder
30b87e8035
Resolving potential conflict with #285 . (Missed the newline)
2012-10-30 20:12:43 -07:00
Glitchfinder
26a85846fc
Resolving potential conflict with #285 .
2012-10-30 20:11:24 -07:00
Glitchfinder
cd40507609
Resolving issue #211 .
2012-10-30 20:05:37 -07:00
Glitchfinder
a9ea2e0137
Resolving issue #258 .
2012-10-30 19:24:20 -07:00
Glitchfinder
6964f7adfc
Resolving issue #238 .
2012-10-30 18:12:50 -07:00
Glitchfinder
70231b6ae0
Resolving issues #243 , #241 , and #234 .
2012-10-30 17:59:58 -07:00
U-YUE\Sean
9354831729
Finished fixing issues #272 , #266 , #261 , and #255 .
2012-10-30 13:14:22 -07:00
U-YUE\Sean
ab7a83b37e
Attempting to fix issues #272 , #266 , #261 , and #255 .
2012-10-30 11:46:52 -07:00
U-YUE\Sean
8dfa8c20f3
Resolving first half of issue #283 . Recommend closing issue and reopening with a new ticket number for the issue regarding stats. Stat bug probably involves commit @42aa42699129448ef7fa0e4e5de96840004c13ee
2012-10-30 10:26:46 -07:00
Grant
67499eeff7
Merge pull request #281 from Glitchfinder/master
...
Fixed checked data values for carrots and potatoes.
2012-10-30 07:01:35 -07:00
Glitchfinder
058dc8c611
Added support for newer mobs to fishing's shake ability.
2012-10-29 14:27:22 -07:00
Glitchfinder
8871964be0
Fixing checked data values for carrots and potatoes.
2012-10-29 12:33:13 -07:00
Grant
42aa426991
Merge pull request #271 from mcunha/better-db-handling
...
Better db handling
2012-10-29 10:25:49 -07:00
Grant
7cee94e0b8
Merge pull request #274 from zippy120/master
...
Added checks in the events to prevent errors when Citizens NPCs perform tasks.
2012-10-29 10:25:39 -07:00
Grant
fa96a6beec
Merge pull request #278 from Glitchfinder/master
...
Basic update for 1.4.2
2012-10-29 10:25:29 -07:00
Marco Cunha
f1d785777c
Don't award double drops to mossified cobblestone
2012-10-29 17:17:52 +01:00
Glitchfinder
db0168205d
Added herbalism food bonuses.
2012-10-28 22:47:26 -07:00
Glitchfinder
2a20ed95fa
Added missed checks for potatoes and carrots.
2012-10-28 20:56:33 -07:00
Glitchfinder
11f1889f1f
Added support for carrots and potatoes. Also updated to ignore beacon blocks and anvil blocks.
2012-10-28 20:53:03 -07:00
zippy120
703b5b2f3f
Added checks in the events to prevent errors when Citizens NPCs perform tasks.
2012-10-28 09:26:46 -06:00
Marco Cunha
58a15e61dd
Fix refactoring typos
2012-10-22 19:05:13 +02:00
Marco Cunha
896f57f0b4
Force proper disposal of resultsets and statements
2012-10-22 15:03:31 +02:00
Marco Cunha
34ae64706e
Improved DB connection handling
...
Support for aggressive connection timeouts, with exponential backoff
for multiple failures.
2012-10-22 14:45:16 +02:00
Glitchfinder
31513d52d7
Fixing spacing issues and making herbalism drop cocoa beans instead of a cocoa block.
2012-10-17 21:26:16 -07:00
Glitchfinder
70a16fe344
Finished adding skill checks for Emerald Ore and Cocoa.
2012-10-17 13:41:19 -07:00
h31ix
22f6ed324d
Added ender chest to list of blocks that should not cause ability activation
2012-09-30 12:48:20 -04:00
Marco Cunha
7e21fdd862
Fix ore dupe bug with ore blocks on pistons
2012-09-10 01:53:16 +03:00
nossr50
01e69cdf5e
Fixing some mistakes.
2012-09-07 14:49:00 -07:00
nossr50
9ad7840236
Merge pull request #246 from matix931/patch-4
...
Update src/main/java/com/gmail/nossr50/config/Config.java
2012-09-05 21:11:15 -07:00
nossr50
ef318eeaec
Merge pull request #248 from matix931/patch-7
...
Update src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java
2012-09-05 21:10:58 -07:00
matix931
5f04ecfdd4
Update src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java
2012-09-05 11:45:43 +03:00
matix931
91d294acff
Update src/main/java/com/gmail/nossr50/skills/gathering/Mining.java
...
Another change against 1.3.2
2012-09-05 11:19:34 +03:00
matix931
a283fce4ec
Update src/main/java/com/gmail/nossr50/config/Config.java
...
Doing something against 1.3.2
2012-09-05 11:09:14 +03:00
nossr50
f8d525d797
Merge branch 'master' of https://github.com/mcMMO-Dev/mcMMO
2012-09-03 13:27:11 -07:00
nossr50
80dabad10e
Nerfs to axes
2012-09-03 13:26:48 -07:00
matix931
0f7bf13834
Update src/main/java/com/gmail/nossr50/skills/repair/Repair.java
...
When DowngradeChance is 0 random can be the same (0 to 99) so can't be <= becouse downgrade will continue
2012-08-31 18:03:54 +03:00
nossr50
c1d6e79a41
Vampirism fix
2012-08-30 09:16:08 -07:00
t00thpick1
c084ccde40
Added missing null check
2012-08-17 18:45:08 -03:00
t00thpick1
740c1131ea
Made superbreaker not dupe if event is cancelled
2012-08-17 01:28:28 -03:00
t00thpick1
0a798aec30
Made gigadrill not dupe if event is cancelled
2012-08-17 01:27:41 -03:00
nossr50
f532630d1b
Another fix to make us more compatible with other plugins
2012-08-14 14:21:07 -07:00
nossr50
7b47d32a96
Citizens compatibility. Bug fix for Woodcutting/custom trees.
2012-08-14 14:09:49 -07:00
nossr50
3934392219
Did somebody say HOTFIX?
2012-08-14 13:52:31 -07:00
nossr50
ed6f48b5fe
Merge pull request #215 from btarb24/master
...
Player command to reset a skill level (for when cap is enabled)
2012-08-09 13:10:44 -07:00
nossr50
729e4a6eac
Fixed some deprecated things, removed some unneeded imports.
2012-08-07 17:41:13 -07:00
nossr50
9a39dead4f
Forgot an import.
2012-08-07 17:38:28 -07:00
nossr50
cb1eabc3fa
1.3.10 release soon, added 1.3.1 compatibility
2012-08-07 16:49:25 -07:00
nossr50
b30002948c
Fix for COTW and a fix for stat wipes w/ offline mode off for FlatFile
2012-08-04 15:21:34 -07:00
Bill Tarbell
d528f11082
Allow global multiplier to be a double
2012-08-01 19:32:25 -04:00
GJ
42a1fdf2df
Removed deprecated function in 1.2.5-R5
2012-07-31 09:06:23 -04:00
Bill Tarbell
394ddd4e51
copy paste error.
2012-07-30 00:02:41 -04:00
Bill Tarbell
8c7d95f9ea
Add player command to reset skill levels
2012-07-29 23:49:42 -04:00
Bill Tarbell
422550abfd
Display power level cap on mcstats command
2012-07-29 20:05:05 -04:00
GJ
ca9ce1ba1b
Fixed possible ClassCastException from catching something other than a
...
mob when using the Shake Mob skill
2012-07-21 09:37:17 -04:00
nossr50
ac1c420cb5
Ryokai!
2012-07-13 10:01:51 -07:00
GJ
05a9e85529
No reason to pull the ArrayLists every time.
2012-07-10 14:52:43 -04:00
GJ
ca6ed76e8f
Log when someone's missing from a table.
2012-07-10 14:43:48 -04:00
GJ
3d04da39e3
Null check our DB tables.
2012-07-10 14:38:51 -04:00
GJ
127908f104
Save the tablePrefix as a String.
2012-07-10 14:32:56 -04:00
GJ
686bcd5308
Null check ALL the profiles.
...
We should probably find a more elegant way to do this, though.
2012-07-10 14:02:48 -04:00
GJ
07c66378c0
Some optimizations to how we handle our SQL connections and queries.
2012-07-10 12:04:18 -04:00
GJ
4e7107c8a8
Remove unused variable
2012-07-09 11:12:58 -04:00
GJ
3c2d658b37
Protect our database.
2012-07-09 11:12:46 -04:00
GJ
f0b2cc1bab
Protect our file paths.
2012-07-09 10:55:33 -04:00
GJ
d038cbf357
Bad variables names are bad.
2012-07-09 10:47:33 -04:00
GJ
c3ea632cb9
This should be private.
2012-07-09 10:46:55 -04:00
GJ
a31d50924d
Only create objects where we need them.
2012-07-09 10:43:16 -04:00
GJ
c567e2714a
Fixed custom woodcutting blocks throwing errors.
2012-07-09 09:26:22 -04:00
bm01
a2e342b4fc
Oops
2012-07-08 00:17:33 +02:00
bm01
4469637f27
NPE prevention for Users.getProfile()
2012-07-08 00:02:40 +02:00
bm01
f4ecbe7f65
Removed unused import
2012-07-07 23:48:36 +02:00
bm01
dbaab4efe1
Don't call SpoutStuff if Spout isn't enabled
2012-07-07 23:48:22 +02:00
bm01
8c178869b7
Fixed /mcremove
2012-07-07 23:38:05 +02:00
NuclearW
3c7bcb990e
NPE Prevention
2012-07-07 17:02:33 -04:00
NuclearW
f7a5678814
Change ChunkletManager to a notify/demand system
...
Allowing NullChunkletManager to bypass the ChunkletUnloader as it is not needed.
2012-07-07 14:43:14 -04:00
NuclearW
646bb32965
Let the Unit testing begin
...
Could use some more test cases on the make test, though
2012-07-07 14:43:14 -04:00
NuclearW
dce7d8fdd3
Format this before GJ finds out
2012-07-07 14:43:14 -04:00
NuclearW
6dd17312f4
Change this back to private
2012-07-07 14:43:14 -04:00
NuclearW
da6b461408
Move our Externalizeable to PrimitveExChunkletStore
...
This will let us deserialize Primitive normally.
In addition, we now enforce all chunklets being of type PrimitiveEx, as any non-Ex are repalced with a new Ex on load.
2012-07-07 14:43:13 -04:00
NuclearW
77dce75108
Formatting a single line
2012-07-07 14:43:13 -04:00
NuclearW
37308917d1
Parenthesis for clarity
2012-07-07 14:43:13 -04:00
NuclearW
21d2229572
Column comment
2012-07-07 14:43:13 -04:00
NuclearW
7d372af51e
Some address byte comments
2012-07-07 14:43:12 -04:00
NuclearW
a3e0753076
We must be sure to flush
2012-07-07 14:43:12 -04:00
NuclearW
a728d1f9c8
These must be called in the reverse order we open them
2012-07-07 14:43:12 -04:00
NuclearW
b893e86f3c
A bit more clear
...
But no functional change
2012-07-07 14:43:12 -04:00
NuclearW
63cf6e9b3a
Do not increment i in this location
2012-07-07 14:43:12 -04:00
NuclearW
67738d811e
Move things around to fit together better
2012-07-07 14:43:12 -04:00
bm01
4d77f6d04d
Introducing external chunklets
2012-07-07 14:43:11 -04:00
bm01
3702495038
Don't need to .save() for online players
2012-07-07 20:02:54 +02:00
bm01
ede08ce5ac
Moved hudType back to PlayerProfile
...
Removed some convenient methods from PlayerProfile to avoid NPE because of
spoutHud
2012-07-07 19:59:10 +02:00
bm01
5571e0bc0c
Arranged InspectCommand
2012-07-07 19:39:22 +02:00
bm01
73bb73c8ca
Fixed /mmoedit
2012-07-07 19:35:32 +02:00
bm01
54011fdeb7
Removed unused OfflinePlayer from PlayerProfile
2012-07-07 19:27:47 +02:00
GJ
5b8811bd09
More work on McMMOPlayer
2012-07-06 11:57:17 -04:00
GJ
c460eec0ab
Oops.
2012-07-06 09:30:30 -04:00
GJ
bc6233541a
Start changing PlayerProfile to use an OfflinePlayer
2012-07-06 09:14:25 -04:00
bm01
18aef9d526
Typo
2012-07-06 07:13:52 +02:00
bm01
ccc6fd30f8
Fixed /inspect not working on offline player
2012-07-06 07:07:29 +02:00
GJ
1ba498c443
Because "final static" is just backwards.
2012-07-06 00:12:17 -04:00
GJ
64f31f2b5a
Fixed issue with JSON API plugin & player chat events
2012-07-05 11:25:36 -04:00
GJ
b94085c5f4
Make 'em final
2012-07-05 09:33:57 -04:00
GJ
62b90ad552
Using .equals() is better
2012-07-05 09:25:48 -04:00
GJ
d6d1e0ffed
More efficient handling of Party/Admin chat messages
2012-07-05 09:21:07 -04:00
GJ
ccd103cd88
More efficient iteration.
2012-07-05 09:11:40 -04:00
GJ
0606f16a11
pm is lazy too.
2012-07-04 15:38:26 -04:00
GJ
c9e3ea005b
Because loc is lazy.
2012-07-04 15:38:25 -04:00
GJ
3f8268d848
Fixed custom blocks dropping the wrong thing with Super Breaker & Silk
...
Touch
2012-07-04 10:33:20 -04:00
GJ
cefec723d0
Javadoc typo
2012-07-04 10:12:10 -04:00
GJ
124aa72fd9
Better file handling
2012-07-04 10:00:11 -04:00
GJ
dbc7277ba9
FileWriter is pointless here.
2012-07-04 09:45:47 -04:00
GJ
24d8769b5b
Remove useless FileWriter
2012-07-03 21:23:32 -04:00
GJ
4aecb9756e
Improve file handling.
2012-07-03 21:21:32 -04:00
bm01
51ca29ab9f
Forgot to loadKeys()
2012-07-03 23:29:26 +02:00
bm01
c6e5264b7b
Print the stack trace for easier debugging
2012-07-03 23:28:58 +02:00
bm01
73203ce869
Removed unneeded method call
2012-07-03 22:05:47 +02:00
bm01
b80a29ca04
Configs rework, fixed mod config files not loading, fixed comment blocks not being copied
2012-07-03 21:57:46 +02:00
GJ
5ee440d9a5
Ensure that our stuff gets closed when working with Chunklets.
2012-07-03 15:10:35 -04:00
GJ
cda3675dc5
More bad variable names.
2012-07-03 10:14:01 -04:00
GJ
caf9c07ba3
Because PP is an awful variable name.
2012-07-03 10:04:04 -04:00
GJ
96e70aa4d2
Fixed "lower tool" messages still being displayed even when ability
...
messages are disabled.
2012-07-03 08:40:56 -04:00
GJ
9f1b77a007
Refactoring
2012-07-03 08:36:21 -04:00
GJ
946b5bb006
Added null checks to BlockBreak & BlockDamage events to help with mod
...
compatibility.
2012-07-03 07:59:36 -04:00
bm01
bebcc40987
Added missing annotations
2012-07-03 03:55:19 +02:00
bm01
d6d7f5099f
Removed unused import
2012-07-03 03:54:20 +02:00
bm01
bdcc2f644b
Removed unneeded instanceof
2012-07-03 03:53:51 +02:00
bm01
c3ba54a0ce
Removed unneeded cast
2012-07-03 03:53:11 +02:00
bm01
1443e2f6b8
Removed unneeded null check, according to eclipse :3
2012-07-03 03:52:12 +02:00
bm01
7799acec05
Oops
2012-07-03 03:40:12 +02:00
bm01
1bbc1f28aa
TrackedEntity.java cleanup
2012-07-03 03:37:11 +02:00
GJ
8257fd8e7c
Tweaked a few switch statements.
2012-07-02 21:05:55 -04:00
GJ
bc58aff362
Fixed resource leak from never closing the JarFile.
2012-07-02 20:44:54 -04:00
GJ
c3d7a4e3de
Fixed "lucky" perk making downgrades from repair more likely.
2012-07-02 19:56:48 -04:00
GJ
3c10be6d1a
Added some missing defaults to switch cases.
2012-07-02 19:27:07 -04:00
bm01
f18a9bdcc7
Fixed duplication bug with sticky pistons
2012-07-02 23:54:05 +02:00
bm01
87f59cd3eb
Fixed the possibility to use some abilities without the proper tool
2012-07-02 21:30:19 +02:00
GJ
819b6fcacb
Added "lucky" donor perk - abilities have 25% better chance to activate
2012-07-02 11:09:55 -04:00
bm01
246961887e
Build test
2012-07-01 13:09:34 +02:00
bm01
54e21333a3
Reworked some Spout stuff
...
among other things
2012-07-01 12:54:11 +02:00
bm01
c45beec59d
Fixed repair enchant downgrade
2012-07-01 00:04:53 +02:00
bm01
c88ada489a
Chunklets optimization
2012-06-30 02:38:22 +02:00
GJ
189f23f407
Fixed custom tools not handling the Ability_Enabled flag properly.
2012-06-28 11:20:53 -04:00
GJ
9789143c6d
Check if player is online for EntityDamage events too.
2012-06-28 10:22:00 -04:00
GJ
f4dd7ff483
Fixed ClassDef error that prevented the server from loading unless
...
Spout was installed.
2012-06-28 10:03:22 -04:00
GJ
50e05c6320
Minor refactoring
2012-06-28 09:01:02 -04:00
GJ
9ba5360bfc
Cleaned up inSameParty method
2012-06-28 08:14:49 -04:00
GJ
565ef693ce
Fix issue with EntityDamageByEntityEvents & Offline Players
2012-06-28 08:14:49 -04:00
bm01
0c1a8eff85
Fixed NPE caused by Spout players after a /reload
2012-06-28 06:51:13 +02:00
GJ
32e9de6e9a
Fix for NPE on party checks due to CombatTag plugin.
2012-06-27 23:51:18 -04:00
bm01
533955a9c7
Removed redundant calls
2012-06-28 05:35:56 +02:00
bm01
2faa0356a5
It's better that way
2012-06-27 20:46:45 +02:00
GJ
ee2a5c199a
Added functionality to specify custom blocks that should not trigger
...
abilities.
2012-06-27 14:46:44 -04:00
bm01
bdcc522897
Fixed ConcurrentModificationException on world unload
2012-06-27 20:39:54 +02:00
GJ
71b20bdeaa
Fixed ArrayIndexOutOfBounds error
2012-06-27 11:18:04 -04:00
GJ
0e85b4776a
Add more XP boost permissions nodes.
2012-06-27 08:31:10 -04:00
GJ
24d2c1bc7a
Fix for UTFDataFormatException
2012-06-26 14:58:51 -04:00
GJ
1610e932c6
Removed some debug code that got left in...
2012-06-26 13:23:56 -04:00
GJ
31d7bb2332
Javadoc fix
2012-06-26 08:03:19 -04:00
GJ
3d9c03c0c8
Added a few requested functions to the ExperienceAPI
2012-06-26 08:02:49 -04:00
bm01
dd94343d92
One more fix to admin chat
2012-06-25 21:35:38 +02:00
GJ
4b93dede33
Add ability to check if any ability is enabled.
2012-06-25 10:35:47 -04:00
GJ
61205989cc
Cleanup cooldown monitoring a bit.
2012-06-25 10:29:29 -04:00
GJ
2559ea61d8
Added Ability API
2012-06-25 10:05:47 -04:00
GJ
eae665c1c5
Added ability for custom blocks to drop a range of items. MOD BLOCK
...
FILES WILL NEED TO BE REDONE.
2012-06-25 09:47:22 -04:00
bm01
d73521e0a0
Fixed admin chat being seen by everyone
2012-06-25 15:05:20 +02:00
GJ
e8deb0384a
Fix Iron Grip calculations using incorrect values.
2012-06-25 08:54:05 -04:00
GJ
881f2c023e
Added permission node for Iron Grip
2012-06-25 08:54:05 -04:00
bm01
5057a8a7a3
Fixed memory leak in ProfileSaveTask
2012-06-25 14:38:07 +02:00
bm01
b8e9269488
Made things cleaner
2012-06-25 14:37:18 +02:00
bm01
dc48d467f5
Return to HashMap!
2012-06-24 22:46:45 +02:00
nossr50
0b0390620e
Whoops :D
2012-06-24 13:26:49 -07:00
nossr50
24eb34c182
Back to the old way of doing things
2012-06-24 13:26:21 -07:00
nossr50
ab7b6ce460
Fixed bug that caused NPE when trying to compare null parties
2012-06-24 12:48:03 -07:00
GJ
c4cd677021
Added new methods to replace deprecation in latest Bukkit. Commented out
...
until RB.
2012-06-23 12:13:51 -04:00
bm01
6b84d39dda
Fixed AE abilities not being applied correctly
2012-06-22 23:10:17 +02:00
bm01
e61342177d
Simplified combat ability checks
2012-06-22 20:20:28 +02:00
bm01
d51fa92b46
Made 'shooterless' arrows dodgeable
2012-06-22 19:39:14 +02:00
bm01
3e20dc7de6
combatChecks optimization
2012-06-22 18:54:49 +02:00
GJ
dce1d7ba39
Fixed calculations on Reduced Cooldown perk
2012-06-22 10:57:51 -04:00
GJ
adffea1d52
Increased the seconds for activation time perk.
2012-06-22 10:13:37 -04:00
GJ
20b73dcc84
Fixed not checking if an Entity was a LivingEntity before applying the
...
Counter-Attack ability.
2012-06-22 09:47:18 -04:00
GJ
b331fa353b
Added increased activate time donor perks
2012-06-21 23:01:02 -04:00
GJ
8738036f6f
Added Reduced Cooldown perk for donors.
2012-06-21 21:50:48 -04:00
GJ
fce02dc0e5
Fixed possible NPE with Acrobatics fall checks.
2012-06-21 21:04:19 -04:00
GJ
2bef0e833f
Rework of Swords handling
2012-06-21 09:04:45 -04:00
GJ
9040a2a2e3
Optimizations to Combat.java
2012-06-18 08:50:14 -04:00
NuclearW
4407ed0a6f
Fixed bug with Chunklets not being reloaded on /reload
2012-06-16 21:43:04 -04:00
GJ
09721518b0
Fixed Unarmed using Taming levels.
...
My copy-paste skills are failing.
2012-06-15 11:11:57 -04:00
GJ
8ad6337dde
Avoid calling the same thing 3 times.
2012-06-15 10:58:38 -04:00
bm01
271740d2ac
Re-added mcMMO.getPlayerProfile(Player)
2012-06-15 10:03:00 +02:00
GJ
48dd537257
More reworking of Unarmed, renamed ArcheryBonusDamageEventHandler for
...
clarity's sake.
2012-06-14 23:59:36 -04:00
GJ
77b4aaa50d
Updating Unarmed (WIP)
2012-06-14 23:59:35 -04:00
bm01
1014316581
Whoops D:
2012-06-15 03:32:46 +02:00
bm01
739cd83155
Forgot to cancel the task
2012-06-15 03:30:36 +02:00
bm01
55e832d4f6
Do not track arrow if the bow has Infinity
2012-06-15 02:53:11 +02:00
bm01
032472dcb3
Avoid unnecessary iteration
2012-06-15 02:46:41 +02:00
bm01
68bf93d1ac
Remove inactive entities from the arrow tracker
2012-06-15 02:43:13 +02:00
bm01
ba133f94fc
Extra equals
2012-06-15 02:34:24 +02:00
bm01
064c16f4d7
Reverted last commit
2012-06-15 02:14:53 +02:00
bm01
5a394ee744
Fixed killed entities not being removed from arrowTracker
2012-06-15 02:08:15 +02:00
bm01
3bc2f5dc55
Fixed Archery using Taming skill level
2012-06-15 02:06:06 +02:00
GJ
6f63818e5f
Check for the block before throwing the fake break event.
2012-06-14 10:24:58 -04:00
GJ
a5d7bee939
Spacing
2012-06-14 00:01:31 -04:00
bm01
9d396162f1
Hardcore.java cleanup
2012-06-14 01:22:35 +02:00
bm01
4a0d9a96ab
Fixed minor bug with Vampirism notification
2012-06-14 00:48:40 +02:00
GJ
9f65e5a9ab
PermissionsHandler was a stupid idea.
2012-06-13 12:31:20 -04:00
GJ
c71f4e438b
Organize imports.
2012-06-13 08:54:02 -04:00
GJ
14d13eb4c7
Archery rework.
2012-06-13 08:53:18 -04:00
GJ
29c629eb22
WIP on Archery rework.
2012-06-12 21:36:17 -04:00
bm01
050b794b42
Fixed NPE with /mmoedit
2012-06-12 23:31:32 +02:00
NuclearW
f589197321
Load the lowest chunklets right now.
...
Thanks for @Glitchfinder for finding this glitch.
Closes #205
2012-06-12 17:00:05 -04:00
NuclearW
09575a68f0
Handle corrupt chunklets by making a new one and not throw stacktrace
2012-06-12 16:45:28 -04:00
NuclearW
c1b838e356
Typo fix
2012-06-12 16:45:00 -04:00
GJ
8ed2696315
Fix issue with trying to remove all of the item in hand.
2012-06-12 15:11:13 -04:00
GJ
ab138bdba2
Javadocs, added Lighting to the damage types affected by Shock Proof
2012-06-12 14:48:28 -04:00
GJ
5ba9fb78fd
More tweaks to Taming.
2012-06-12 14:42:38 -04:00
GJ
2d47447375
Begin rework of Taming skill
2012-06-12 11:07:51 -04:00
GJ
d9eaede4c2
Spacing
2012-06-12 11:07:27 -04:00
GJ
c6db11a10b
Use EntityDamage event instead of EntityDamageByEnitity
2012-06-12 10:23:34 -04:00
GJ
2225e542ad
Spacing issues.
2012-06-12 09:20:39 -04:00
GJ
975e13d45f
Tweaked how we check XP gain permissions.
2012-06-12 08:10:18 -04:00
bm01
534a165c45
Tweaked a few things
2012-06-12 06:18:00 +02:00
bm01
5cff6ed67b
Removed xpGainATS, it actually never worked
2012-06-12 05:59:26 +02:00
bm01
3448733834
Removed unused variable
2012-06-12 05:40:07 +02:00
bm01
c382c95d24
Re-added respawnATS
2012-06-12 05:38:32 +02:00
GJ
0034226fa7
Reorder constructors to avoid errors
2012-06-11 21:03:49 -04:00
GJ
5f067a6bb5
More tweaks to Acrobatics.
2012-06-11 20:37:09 -04:00
GJ
6ab1996440
Reworking of Acrobatics, plus an Acrobatics bugfix.
2012-06-11 16:11:23 -04:00