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
1073954550
Lucky perk is actually a 33.3% boost.
2012-07-02 20:17:48 -04:00
GJ
c3d7a4e3de
Fixed "lucky" perk making downgrades from repair more likely.
2012-07-02 19:56:48 -04:00
GJ
92ae92c116
Fixed children nodes of "lucky" perk not being set to true.
2012-07-02 19:46:47 -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