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
ffbaaf85ed
Hopefully this should increase performance a bit
...
This method is a bottleneck :(
2013-02-08 21:35:23 +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
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
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
ebdf90a64e
ChestShop 3.50 IS NEAR
2013-01-24 22:35:28 +01:00
Acrobot
c97d6fbebe
Changes to prepare for the MC change
2013-01-15 21:33:00 +01:00
Acrobot
7b759e92a1
Change to utility methods
2012-12-31 02:34:39 +01:00
Acrobot
dc0a61b1fd
Fixes a bug with item adding
2012-12-31 02:28:48 +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
Acrobot
d0ce8419e7
More refractoring
2012-12-22 21:04:48 +01:00
Acrobot
841a67a54b
Bukkit functions > custom functions
2012-12-22 21:04:15 +01:00
Acrobot
a5728dc2d0
Yeah, kind of screwed that before :P
2012-11-30 21:50:03 +01:00
Acrobot
a781ef51b5
Formatting
2012-11-29 20:28:16 +01:00
Acrobot
69e08d0c7d
Fixed item stacking, because Bukkit didn't
...
Yay for named loops!
2012-11-29 20:28:05 +01:00
Acrobot
817fdeae3f
Added prevention against NPEs in MaterialUtil
2012-11-28 21:30:53 +01:00
Acrobot
a2e9cc81c3
Small fixes & starting to clean up code
2012-11-25 23:34:21 +01:00
Acrobot
4252ede145
Yes... This too...
2012-11-23 21:01:53 +01:00
Acrobot
724cc4077c
A bit of tweaking
2012-11-23 21:01:43 +01:00
Acrobot
9c492ac031
Added a utility method to merge similar stacks
2012-11-23 21:01:29 +01:00
Acrobot
513aeef7b7
Added a new config system
2012-11-23 20:59:12 +01:00
Acrobot
51d4cf1b61
I hate you too, GitHub for Windows
2012-10-28 23:56:40 +01:00
Acrobot
aed6eff863
Fixed enchantments -.-
2012-10-28 23:55:29 +01:00
Acrobot
b0a04c42cc
Fixed enchantments -.-
2012-10-28 23:55:27 +01:00
Cyprias
7cb8cafd01
* Fixed enchants not being added to items.
2012-10-28 14:22:11 -06:00
Acrobot
988a3a549c
Using libraries built in Bukkit > manually
2012-10-21 22:46:00 +02:00
Acrobot
361724f2be
Fixed item and price formatting
2012-10-21 22:45:30 +02:00
Acrobot
1bf4651efa
Many, many changes
...
- Added ShopDestroyedEvent
- Fixed signs stacked on each other not working
- Fixed Admin Shops selling materials with metadata
- Fixed shops accepting '0' quantity
- Started working on database stuff
- Split BlockBreak listener to many files
- Added methods to InventoryUtil
- Fixed discounts
2012-10-16 17:03:45 +02:00
Acrobot
228f493b70
Fixed bug that caused non-economically-active admin shops to be out of money. Also, fixed probable bug with enchantments
2012-09-14 23:00:17 +02:00
Acrobot
0a5707c4d8
Small fixes
2012-08-25 12:50:16 +02:00
meiamsome
80f658e748
Added roundDown
...
Added another round function as required.
2012-08-18 21:56:46 +02:00
Acrobot
92aeee4a86
Trying to fix "Item not recognised" message
2012-08-10 18:54:49 +02:00
Acrobot
47dc473163
Fix negative prices
2012-07-26 13:44:29 +02:00
Acrobot
919b9728f5
Fix enchantment detection
2012-07-26 13:44:19 +02:00
Acrobot
d1732552b0
- Made the plugin more event-driven
...
- Added PreTransactionEvent which can be cancelled
- Fixed not placing B/S before prices
- Updated Heroes
2012-07-07 19:24:06 +02:00
Acrobot
ec5092900b
Fixed FREE shops
2012-06-25 17:15:10 +02:00
Acrobot
5908eb67fa
- Added API (let's start with simple things first)
...
- Copied utilities from ChestShop-4
- Made code really, really nicer to read
- Made every external plugin's wrapper a listener, so it listens to events instead of being hard-coded.
2012-06-08 15:28:36 +02:00