Phoenix616
836ef56864
Add more message placeholders ( Fixes #159 )
2018-08-23 22:10:24 +01:00
Phoenix616
247b2d239e
Fix issues with alternative block materials forms
...
This also removes the number in the name from /iteminfo and the autocompletion
2018-06-18 20:04:17 +01:00
Phoenix616
c39720b449
Don't try to get the MaterialData from every damage ( Fixes #131 )
...
We will have to add a new way of handling that for 1.13 anyways when data isn't using damage values anymore.
2018-05-15 23:58:34 +01:00
Phoenix616
036d309965
[CI-SKIP] Fix some formatting inconsistencies
...
Remove spaces on empty lines and changed doc comment formatting
Also includes some minor comments and import fixes
2018-05-07 15:32:51 +01:00
Phoenix616
d28e44f377
Make sure to set the item if removed manually
2018-03-22 17:01:56 +01:00
Phoenix616
679000de15
Improve MaterialData handling
...
- Adds ability to shorten MaterialData type strings
- Removes Banner color string in name
2018-03-16 18:30:51 +01:00
Phoenix616
dd44217132
Fix issues with metadata IDs
...
Also log more info when the code couldn't be generated and send it to the sender when the iteminfo command is used
2018-03-16 18:24:52 +01:00
Phoenix616
51495cdefb
Fix issues with banners and display their color
...
Also print more info when the code couldn't be generated.
2018-03-14 18:53:34 +01:00
Phoenix616
26ddb52434
Properly split the material name ( Fixes #114 )
2018-03-14 15:08:51 +01:00
Phoenix616
d04e17450b
Make material name shortening testable and move test to proper package
2018-03-14 15:07:13 +01:00
Phoenix616
58a14bc508
Optimize StringUtil
2018-03-12 21:02:57 +01:00
Phoenix616
6e9824e6b0
Add better item name shortening. ( Fixes #112 )
2018-03-12 21:01:28 +01:00
Phoenix616
c5c9e96b13
Properly stack partial stacks ( Fixes #102 )
2018-01-23 17:32:54 +01:00
Phoenix616
6d4db1c8f6
1.13 preparations: Get rid of numeric item ids
2018-01-12 17:54:57 +01:00
Phoenix616
eaeeb80fd3
Fix issues with partial item transfer due to full inventory
2018-01-08 23:56:58 +01:00
Phoenix616
3ad0849c3d
Merge similar stacks when showing the ShowItem message
2018-01-08 22:53:44 +01:00
Phoenix616
ac73442643
Added ability to show item icons and hover info with ShowItem
2018-01-06 17:44:35 +01:00
Phoenix616
b23a0d238e
Allow partial transactions due to missing inventory space ( Fixes #88 )
2018-01-05 18:30:06 +01:00
Phoenix616
8687b94e22
Make sure the maxStackSize isn't zero ( Fixes #87 )
...
By returning an empty array here we completely stop the transaction if the max stack size somehow manages to be zero.
2017-12-04 16:39:23 +01:00
Phoenix616
4075b2e38a
Use the alias on the sign if one is defined in OddItem
2017-11-15 21:08:32 +01:00
Phoenix616
61c08a3b18
Calculate the amount instead of using a loop ( Fixes #78 )
2017-10-25 15:22:26 +01:00
Phoenix616
1d80edbf9b
Get rid of google dependencies
...
Mostly replaced with Java 8 features and our own cache
2017-09-23 15:19:00 +01:00
Phoenix616
9da7d5198b
Fix stacking issues ( Fixes #74 )
...
This also fixes some conditions under which the STACK_TO_64 option did not get applied correctly and wrong inventory space checking for items with a max stack size of less than 64
2017-09-06 14:19:34 +01:00
Phoenix616
9a9e89206b
Fix NPE that occurs when STACK_TO_64 is true (DevBukkit-1222)
2017-08-06 11:40:20 +01:00
Phoenix616
4abb9ae518
Fix NPE when slot in chest is empty
2017-06-30 20:38:58 +01:00
Phoenix616
fc5d84eebb
Fix issue with selling written books ( #1107 )
...
Also improved the manual add method.
2017-05-04 18:54:49 +01:00
Phoenix616
583c50438c
Revert "Fix merging of items that aren't actually equal. (Like skulls with textures)"
...
This reverts commit 11d2280d3e
.
The method isn't actually the issue and the workaround introduces new
issues.
2017-02-20 00:39:30 +01:00
Phoenix616
11d2280d3e
Fix merging of items that aren't actually equal. (Like skulls with textures)
2017-02-19 17:22:07 +01:00
Phoenix616
765548e0e5
Use Bukkit's addItem method if maxStackSize equals the item's natural stack size
2017-02-19 17:17:42 +01:00
Phoenix616
90f7dd5b0f
No need to use the workaround anymore as CB adds large itemstacks properly now
2017-02-19 16:50:31 +01:00
Dan Mulloy
24df17fde2
Restore compatibility with 1.8
...
Fixes #9
2016-09-22 11:57:49 -04:00
Dan Mulloy
a9f2f228d6
Update to 1.10, attempt fix for item overflow
2016-06-09 22:38:15 -04:00
Dan Mulloy
123c05a98e
Update to 1.9
2016-03-06 14:50:15 -05:00
Gabriele C
8c49bfdbf4
Fixes
2015-08-01 09:52:13 +02:00
Andrzej Pomirski
1d550874fb
Grammar!
2015-07-12 19:18:06 +02:00
Andrzej Pomirski
e5953cd740
Speed up the isSign method
...
Theoretically, block.getState() returns a thread-safe instance of a
block, so getting it when not needed might have hurt performance of
ChestShop
2015-07-05 21:48:17 +02:00
Andrzej Pomirski
99959f2ca0
Fix the problem with colour signs
...
Apparently sign colour plugins do not consider &0 to be a colour that
needs to be removed if there is no other code like that on the sign,
thus ChestShop did not register the initial SignChangeEvent, however
after the server software removes the redundant colour from the sign, it
appeared and worked just like a ChestShop one. This commit "fixes" this
by stripping the colour codes from the sign before it is created.
2015-05-31 18:27:11 +02:00
Andrzej Pomirski
cb126f22cf
Fix the price exploit
2015-03-17 11:36:19 +01:00
Andrzej Pomirski
f6aad7e397
Fix a problem with invalid item IDs
2015-01-08 20:12:38 +01:00
Andrzej Pomirski
4107b10f4b
More UUID changes
2014-04-12 13:57:39 +02:00
Andrzej Pomirski
012dd4568d
Document the functions
2014-04-12 13:28:02 +02:00
Andrzej Pomirski
6845f6a0cb
Change the name to be more appropriate
2014-04-12 13:27:49 +02:00
Andrzej Pomirski
0328374951
Clean up the imports
2014-04-11 17:37:53 +02:00
Andrzej Pomirski
da7e236c0e
Use ORMlite for the UUID->name mapping
2014-04-10 21:52:05 +02:00
Andrzej Pomirski
4c65fbf9ef
Start preparing for 1.7.6
2014-04-06 19:51:47 +02:00
Andrzej Pomirski
bc218746ae
Change the shell
2014-04-06 19:51:30 +02:00
Andrzej Pomirski
e29f9681a1
Fix a dupe bug
2014-04-01 15:47:19 +02:00
Acrobot
348cbda185
Fix the hopper protection
2014-01-08 00:12:29 +01:00
Acrobot
b640f60a17
Remove obsolete enchantment code
2013-11-01 19:29:12 +01:00
Acrobot
e74d3f4f39
Add a new method for handling iterables
2013-10-27 16:48:43 +01:00