Dan Mulloy
7e12f57eda
Update testing nms package
2018-09-15 14:48:40 -04:00
Dan Mulloy
776ec56a2d
Update to 1.13.1, rework cloning, fix a particle NPE
2018-09-15 14:32:18 -04:00
Dan Mulloy
8ec31d83db
Fix #508
2018-08-24 10:44:37 -04:00
diffblue-assistant
1373911ca2
Use try-with-resources ( #158 )
...
Replace try statements that close a resource in the finally block with a
try-with-resources statement [1].
This commit was created automatically by Diffblue refactorings (https://www.diffblue.com/ ).
[1] https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html
2018-08-23 12:51:21 -04:00
Dan Mulloy
cf5d9dfc7d
Account for new network manager send packet method
...
Fixes #497
2018-08-03 22:18:32 -04:00
Dan Mulloy
9df0dd48e4
Fix backwards compat with nullable classes
...
Fixes #499
2018-08-03 22:07:25 -04:00
Dan Mulloy
d112e9b1dc
Remove extraneous debug
...
#494
2018-08-03 21:58:54 -04:00
Dan Mulloy
206dc30e17
How did those get there
2018-08-01 17:44:25 -04:00
Dan Mulloy
4c3a0afd7e
Shiny new 1.13 particle support
...
Hopefully this doesn't break 1.8-1.12
2018-08-01 17:38:56 -04:00
Dan Mulloy
8d9bf7d91f
Clone Java optionals
...
Fixes #498
2018-08-01 16:08:53 -04:00
Dan Mulloy
3ef537242f
Fix some issues with item equality
...
Seems to be an internal Bukkit bug, hopefully nothing more serious
2018-07-24 17:05:30 -04:00
Dan Mulloy
976e4b4217
Update to 1.13
2018-07-23 19:11:07 -04:00
Dan Mulloy
e827a3dd1f
Fix class not found exception on versions < 1.13
2018-07-22 00:49:03 -04:00
Dan Mulloy
778031c105
Change block converter to use reflection again
2018-07-19 13:29:20 -04:00
Dan Mulloy
6c3654ef40
Update to 1.13-pre7
2018-07-19 13:13:06 -04:00
Dan Mulloy
5048f6f34b
Try a less expensive map impl for packet markers
...
This might be a concurrency nightmare or a nice solution. I'm hopeful
based on initial testing
Addresses #489
2018-07-09 22:32:21 -04:00
Dan Mulloy
c9dd6e2ba7
Merge remote-tracking branch 'origin/master'
2018-07-09 22:31:23 -04:00
Dan Mulloy
fc76af9d56
Use broader catch statement when dealing with other metrics plugins
...
Fixes #488
2018-07-09 22:31:03 -04:00
dextonanderson
aed2285bcb
Properly cleanup ByteBuf in WirePacket ( #487 )
...
* Properly cleanup ByteBuf
* Release store ByteBuf also
2018-07-09 12:07:43 -04:00
Alvin-LB
1d11908af1
Make sure getMinecraftItemStack(ItemStack) handles Material.AIR properly ( #485 )
...
Fixes #483 and adds a test case to make sure the issue doesn't occur again.
2018-06-29 12:07:48 -04:00
Dan Mulloy
3ccc56fef9
Update repository links and versions
2018-06-12 14:45:36 -04:00
Dan Mulloy
39e0c974ee
Merge branch 'master' of https://github.com/aadnk/ProtocolLib
2018-06-04 12:59:28 -04:00
Dan Mulloy
e52c69ca22
Merge pull request #152 from MatrixTunnel/master
...
Fix maven/gradle repo url
2018-06-04 12:58:52 -04:00
MatrixTunnel
d7d53bd905
Fix maven/gradle repo url
2018-06-02 21:26:31 -07:00
Dan Mulloy
fb2d5016e5
Fix index out of bounds exception
...
Also make /all/ the IntelliJ code changes
Fixes #469
2018-05-31 20:15:47 -04:00
Dan Mulloy
015099b92e
Clone NBT tags
...
Fixes #366
2018-05-29 10:53:07 -04:00
Dan Mulloy
7e8356f0bb
Remove zip functionality from the updater
...
I don't upload zip files anyways
2018-05-29 10:41:13 -04:00
Dan Mulloy
72b8c4ced8
👀
2018-05-28 23:21:03 -04:00
Dan Mulloy
2d22df404a
Fix Gradle builds
2018-05-28 23:19:56 -04:00
MiniDigger
0f13a32925
add paper to the "isUsingSpigot" check ( #468 )
...
partially fixes #467
will make protocollib use the spigot updater on paper servers.
2018-05-18 14:10:46 -04:00
Dan Mulloy
1ddb7a0014
Fix a null pointer with the Bukkit updater
2018-04-14 13:53:54 -04:00
Dan Mulloy
f9376432c4
Metrics improvements
2017-10-08 16:02:10 -04:00
Dan Mulloy
d195fb6990
Update version constants to 1.12.2
2017-10-08 15:56:13 -04:00
Dan Mulloy
e4be102a77
Update to 1.12.2
2017-09-27 19:44:34 -04:00
Dan Mulloy
5f14ccdc34
Add back EnumConverters#getGenericConverter(Class)
...
It should work, but is deprecated and not recommended
Addresses #394
2017-09-27 19:43:38 -04:00
Mark Hughes
7573459a48
Update build information ( #409 )
...
- Switch to 4.3.0 version
- Include Gradle information
2017-09-27 19:19:42 -04:00
Dan Mulloy
01b68cf8e5
Revert unnecessarily breaking changes to converters
...
Fixes #394
2017-08-30 21:51:21 -04:00
Gabriele C
f3b1a07189
Replace MCstats with bStats ( #389 )
...
#388
2017-08-19 11:25:54 -04:00
Dan Mulloy
c70eb27653
Update ISSUE_TEMPLATE.md
2017-08-19 11:12:21 -04:00
Dan Mulloy
4483ce0d79
Add NbtFactory#fromItemOptional
...
This new method won't create tags if they don't already exists
Fixes #376
2017-08-13 23:00:51 -04:00
Dan Mulloy
1b23e9ec22
Rewrite the packet metadata API based on the NMS packet
...
Meta, if created, will persist between creation and listening.
2017-08-13 22:47:45 -04:00
Dan Mulloy
1f5692a0c7
Merge remote-tracking branch 'origin/master'
2017-08-04 14:01:24 -04:00
Dan Mulloy
0ac68dc179
Update to 1.12.1
...
Also contains changes for the packet wrapper update coming soonTM
2017-08-04 14:01:06 -04:00
dadus33
d891a057c0
Make #deserializeLegacy() able to access private members ( #386 )
2017-07-30 22:31:18 -04:00
Dan Mulloy
9e5bdf4124
Major rework of underlying conversion logic
...
This shouldn't affect plugins utlilizing the API, but will make updates and adding wrappers to PacketWrapper easier. In case you're wondering, major changes include:
- Added AutoWrapper
- Added Covnerters utility class
- Removed generic type parameter from EquivalentConverter
2017-07-24 14:15:56 -04:00
Dan Mulloy
e1ea295600
Fix one of many issues with reloading
...
I'm only fixing this because it was relatively simple and I got a lot of reports for it. Seriously people, Stop. Reloading.
Fixes #373 , fixes #368 , fixes #360 , fixes #359
2017-07-08 02:10:24 -04:00
蒋天蓓
59171c5443
Fix issue with component array converter ( #372 )
2017-07-07 11:42:17 -04:00
Dan Mulloy
501244cb3c
Attempt to fix Jenkins build
...
Oddly enough it builds with no errors on my computer
2017-07-06 14:32:35 -04:00
Dan Mulloy
390c21f6d5
Add PacketEvent#isPlayerTemporary, check for player updates
...
This should address issues with temporary players by hopefully returning them less often
2017-07-06 13:56:30 -04:00
Dan Mulloy
20d78832b0
Update dependency versions to hopefully work with Java 9
2017-06-14 15:41:00 -04:00