Commit Graph

386 Commits

Author SHA1 Message Date
riking
5c6cd57a4d Use a MutableBoolean to synchronize on instead of a Boolean
The code synchronizes on a boxed primitive constant, such as an Boolean.

Since there normally exist only two Boolean objects, this code could be synchronizing on the same object as other, unrelated code, leading to unresponsiveness and possible deadlock.

This commit uses the MutableBoolean class from commons-lang, which is included in bukkit.jar.
2013-08-30 18:40:48 -07:00
Olof Larsson
f78872c157 Oh yeah. I should not use ServerConf since this could be MConf. 2013-08-29 10:55:35 +02:00
Olof Larsson
3439cf75c5 This is MCore 6.7.0 2013-08-29 09:30:42 +02:00
Olof Larsson
6810d92b68 Say what entity load failed and why in a nicer manner. 2013-08-29 08:37:31 +02:00
Olof Larsson
5a2ef78d58 Forgot to clear at setup. 2013-08-27 10:58:18 +02:00
Olof Larsson
296d0cbdb2 Add in a system to detect if a PlayerDeathEvent is an invalid duplicate event. 2013-08-27 10:56:11 +02:00
Olof Larsson
d21858d5c7 Actually that PlayerConnection wrap was to dangerous. Let's do it simpler and slightly uglier. 2013-08-26 10:29:58 +02:00
Olof Larsson
1b8ae6cf5f Make the forceOnePlayerNameCase much quicker and isolate it in an Engine class. 2013-08-25 12:28:20 +02:00
Olof Larsson
7f7f5db99d Remove old stuff in player util that nowadays we use Mixin for. 2013-08-25 11:41:49 +02:00
Olof Larsson
d9d9b926c1 Force one player name case. Prevents bugs with offline mode servers and case sensitive file systems. 2013-08-23 10:05:41 +02:00
Olof Larsson
443c800a90 Fix indent 2013-08-22 13:53:19 +02:00
Olof Larsson
8b7b19fada Adding in our own per recipent chat event through PlayerConnection wrapping. 2013-08-22 13:36:37 +02:00
Olof Larsson
0fd2fc5bf5 More sound stuff and a hearsound command available to everyone. 2013-08-18 13:13:00 +02:00
Olof Larsson
b679c94892 An ArgReader for Bukkit Sound. 2013-08-18 12:41:21 +02:00
Olof Larsson
0dbe943cfe Make this possible NPE more clear. 2013-08-09 08:35:28 +02:00
Olof Larsson
a9a24e6b3a This is 6.6.0 2013-08-08 09:46:44 +02:00
Olof Larsson
d4317583b6 Avoid Bukkit error with water potions. 2013-08-07 08:03:08 +02:00
Olof Larsson
0d5fb204a6 Add ability to require a presence in the mixin for commands. 2013-08-06 15:11:20 +02:00
Olof Larsson
ae2c1285d6 Static plz 2013-08-05 13:33:09 +02:00
Olof Larsson
f0dfc539ba CommandMixin plz 2013-08-05 13:30:32 +02:00
Olof Larsson
62b0e8f8b3 Improve upon the teleport mixin again. Lazy destination plz :) 2013-08-05 09:02:42 +02:00
Olof Larsson
8babb5b502 This is 6.5.2 2013-08-04 13:14:51 +02:00
Olof Larsson
e2e8a80de4 Add another constructor variant to VersionCommand. 2013-08-03 12:51:48 +02:00
Olof Larsson
e245948ef2 This is 6.5.1 2013-08-01 08:45:52 +02:00
Olof Larsson
f92f48cbd0 Workaround BUKKIT-4612 2013-07-27 10:07:56 +02:00
Olof Larsson
fa59f9f6cd Check the file ending. Fixes #11. 2013-07-27 09:44:08 +02:00
Olof Larsson
2f75fbdb1d Load permissionToTpdelay. Fixes #22. 2013-07-27 09:36:13 +02:00
Olof Larsson
db74b467b5 Made the permissionDeniedFormats lookups recursive. 2013-07-23 17:42:27 +02:00
Olof Larsson
5677076165 This is 6.5.0 2013-07-12 10:42:58 +02:00
Olof Larsson
fb03dae04c This is 6.4.4_dev for 1.6.2 2013-07-11 20:59:26 +02:00
Olof Larsson
25e59399aa This is 6.4.3 2013-07-03 09:27:26 +02:00
Olof Larsson
a8bb0ed439 Rename back 2013-07-03 09:22:02 +02:00
Olof Larsson
0d38264cb0 Rename to temp, windows is wierd 2013-07-03 09:21:36 +02:00
Olof Larsson
504b479d31 Fix the protocol lib integration. Thanks @aadnk 2013-07-02 21:37:13 +02:00
Olof Larsson
5c24a6a2da This is 6.4.2 2013-07-02 15:33:48 +02:00
Olof Larsson
c7d42419e0 This is 6.5.0_dev 2013-07-02 10:28:00 +02:00
Olof Larsson
94d2c1d46d Some users want to set the delay to 0? 2013-06-29 20:07:31 +02:00
Olof Larsson
b0f9eee41d Improve upperCaseFirst stability. 2013-06-28 07:31:15 +02:00
Olof Larsson
03545624e4 This is 6.4.1 2013-06-27 13:01:55 +02:00
Olof Larsson
7ec866f458 This is 6.4.1_dev, Fix Vault NPE. 2013-06-23 09:27:36 +02:00
Olof Larsson
d8f8de1788 This is 6.4.0 2013-06-22 17:45:18 +02:00
Olof Larsson
dc3cb5e1d1 Add destination desc to the event and rename parameters for PS teleport mixin. 2013-06-12 08:44:41 +02:00
Olof Larsson
b4095ed4ab Add a couple of Reqs I found useful. 2013-06-11 17:15:14 +02:00
Olof Larsson
7de7d30e28 Avoid method name clash 2013-06-11 09:13:30 +02:00
Olof Larsson
226fcfe32f Simplified the visibility mixin for now. 2013-06-11 07:21:11 +02:00
Olof Larsson
746ce7fb55 Add in a small async web util. 2013-06-07 09:31:14 +02:00
Olof Larsson
28f96fcab0 Add in pre/post detach/attach hooks and ensure entity contains all data before attachin on first load from remote. 2013-05-31 11:34:23 +02:00
Olof Larsson
cc75cb8e15 Eject passengers and unmount before teleporting. Wont work otherwise. 2013-05-29 14:44:12 +02:00
Olof Larsson
6d57d6f51c Implemented a recursive equality checker for JsonElement. Compensates for MongoDB rounding issues, non deterministic map entry order etc. Also reduces CPU load with 30-40%. 2013-05-27 12:27:45 +02:00
Olof Larsson
b50c8cd048 I like this order better. 2013-05-27 09:46:08 +02:00