Commit Graph

420 Commits

Author SHA1 Message Date
Acrobot
50227c5da4 Refactoring 2013-02-11 16:55:18 +01:00
Andrzej Pomirski
68e3512af8 Merge pull request #24 from ShadowDog007/master
Improved performance when fetching ItemStacks
2013-02-11 07:53:31 -08:00
Michael McKnight
de182d85b4 Speed up getting materials from sign names
When an item is fetched from a string it caches the material in a
hashmap using the items sign name as the key.
This should massively improve performance when fetching itemstacks using
the string from signs. (Which should be mostly when it is needed)
2013-02-11 13:09:12 +13:00
Acrobot
165f3f204a Refactoring 2013-02-10 15:30:05 +01:00
Acrobot
87c6ea8fc8 Prevent people in creative mode accessing chests 2013-02-10 15:29:40 +01:00
Acrobot
0e87c826bb Fix JDBC errors caused by missing folder 2013-02-10 15:28:16 +01:00
Acrobot
ffbaaf85ed Hopefully this should increase performance a bit
This method is a bottleneck :(
2013-02-08 21:35:23 +01:00
Acrobot
79bf52c312 Closing statements after executing updates. 2013-02-08 20:17:10 +01:00
Acrobot
5cbff43379 Why do we need that again? 2013-02-08 19:42:43 +01:00
Acrobot
4415b52986 A bit of optimalization 2013-02-08 19:34:26 +01:00
Acrobot
6a48340dc6 A bit more clear. 2013-02-08 19:30:35 +01:00
Acrobot
c357ad89f0 Update version 2013-02-08 19:29:42 +01:00
Acrobot
04abe9715c Refractoring + fixed a minor bug 2013-02-08 19:29:31 +01:00
Acrobot
a499ab2cf0 "Light Blue Wool" now works
Awesome. More performance, better item recognition. Less spaghetti in
the code.
2013-02-08 19:29:13 +01:00
Acrobot
62400ed68e Bump version 2013-02-07 14:17:38 +01:00
Acrobot
b1787f8846 Static import 2013-02-07 14:17:32 +01:00
Acrobot
c357141107 Added configuration for the stacking 2013-02-07 14:17:23 +01:00
Acrobot
8d7389b7e0 Added a fix for inventory not closing on /tp 2013-02-07 14:17:03 +01:00
Acrobot
a8e8078348 Finally, no more tricks for that! 2013-02-07 14:16:50 +01:00
Acrobot
b5529bec93 Added maxStackSize and optimizations 2013-02-07 14:15:26 +01:00
Acrobot
f13ce3ac37 It's not my class, seriously, no need to warn me 2013-02-07 14:15:09 +01:00
Acrobot
49b6621b30 Version bump 2013-02-01 19:29:14 +01:00
Acrobot
2ab26f57fd Fixed a bug with price checker 2013-02-01 19:29:07 +01:00
Acrobot
d82727575c Made the message less precise 2013-02-01 19:28:52 +01:00
Acrobot
d3524faae9 Optimized the transaction module 2013-02-01 19:28:42 +01:00
Acrobot
0880ec6575 Added new items to plugn.yml - thanks to Kainzo
from Herocraft
2013-01-29 21:03:07 +01:00
Acrobot
1c3be2c7eb Added an error stating the lack of SQLite connector 2013-01-29 21:02:20 +01:00
Acrobot
616950e54a Fixed a NPE in TerrainCheck pre shop creation 2013-01-29 21:02:03 +01:00
Acrobot
4ba69135cb Fixed NPE in PermissionCheck pre shop creation 2013-01-29 21:01:46 +01:00
Acrobot
a9f9add12a Fixed NPE in PlayerInteract 2013-01-29 21:01:30 +01:00
Acrobot
ebdf90a64e ChestShop 3.50 IS NEAR 2013-01-24 22:35:28 +01:00
Acrobot
4d73ef02a5 Merge remote-tracking branch 'origin/master' 2013-01-15 21:35:31 +01:00
Acrobot
c97d6fbebe Changes to prepare for the MC change 2013-01-15 21:33:00 +01:00
Andrzej Pomirski
9075127967 Merge pull request #23 from jastice/fix-deposit-pr
Make buying transactions fail if deposit on seller's account fails.
2013-01-14 13:30:57 -08:00
Justin Kaeser
8b4ed86c76 change mixed tab/space to space only 2013-01-14 22:18:32 +01:00
Justin Kaeser
e12adad4d0 normalize whitespace 2013-01-14 22:09:41 +01:00
Justin Kaeser
9625680d97 Make chestshop buying transactions fail if money deposit on seller's account fails.
Some economy plugins, such as Gringotts, only allow a limited amount of money in an account.
Thus, deposits to an account can fail. Chestshop would ignore the failure, which could cause a seller not
to receive the payment for selling an item.

This commit fixes the problem by canceling a transaction if the seller is not able to receive the money of a sale.
2013-01-09 01:50:44 +01:00
Acrobot
30c19e4864 Fix restricted shops + bump version 2012-12-31 17:04:38 +01:00
Acrobot
b53751af32 Added a check for existing protections in LWC
Fixes a bug where multiple protections are used
2012-12-31 02:46:42 +01:00
Acrobot
3bf60c061c Simplified the message 2012-12-31 02:46:21 +01:00
Acrobot
d24a1808fd Version bump 2012-12-31 02:34:45 +01:00
Acrobot
7b759e92a1 Change to utility methods 2012-12-31 02:34:39 +01:00
Acrobot
39d3853802 Does not validate invalid shops 2012-12-31 02:34:27 +01:00
Acrobot
2fca493dec Refractored player interact a bit 2012-12-31 02:34:16 +01:00
Acrobot
2420dcd911 No prefix in the sign creation messages! 2012-12-31 02:29:00 +01:00
Acrobot
dc0a61b1fd Fixes a bug with item adding 2012-12-31 02:28:48 +01:00
Acrobot
23b6e59fa0 Avoiding creating blank spaces in the config 2012-12-31 02:28:39 +01:00
Acrobot
f48027e80c Version change 2012-12-26 21:42:28 +01:00
Acrobot
61555db8f1 Refractoring 2012-12-26 21:42:22 +01:00
Acrobot
b1ca575404 Fix the inventoryAdd bug. 2012-12-26 21:42:11 +01:00