Kristian S. Stangeland
d328111b38
No need to suppress any warnings - we can use wildcards.
2012-12-22 23:16:21 +01:00
Kristian S. Stangeland
5d06b9e84c
Bumping to version 1.8.4-SNAPSHOT.
2012-12-21 18:33:40 +01:00
Kristian S. Stangeland
555b5d0795
Create a typed ItemStack array when writing it to a field. FIXES 24.
...
After the package versioning commit, ProtocolLib switched to performing
everything exclusively with reflection. Unfortunately, this may have
introduced a couple of new bugs.
This problem is caused by the fact that ProtocolLib converts a Bukkit
ItemStack array to an Object array instead of an array of NMS
ItemStacks. This object array can't be assigned to a ItemStack array,
so the write operation fails.
The fix is to create a typed array with reflection.
2012-12-21 18:33:09 +01:00
Kristian S. Stangeland
35083f87fe
Increment to version 1.8.3-SNAPSHOT.
2012-12-21 00:37:46 +01:00
Kristian S. Stangeland
c71bf61511
1.4.6 appears to be working properly.
2012-12-21 00:36:04 +01:00
Kristian S. Stangeland
5a96a63ff8
Added support for 1.4.6.
...
Yes, it's essentially a hack, but I don't have enough time today to
find a better way. It will have to do until 1.5.0 is out.
2012-12-21 00:27:13 +01:00
Kristian S. Stangeland
220c0e4bc5
Ensure that CraftItemStacks can be converted to NMS item stacks.
2012-12-19 23:48:31 +01:00
Kristian S. Stangeland
3b142db569
Don't ignore critical exceptions - print them.
2012-12-19 23:10:50 +01:00
Kristian S. Stangeland
1509f5cd8b
Increasing to 1.8.2-SNAPSHOT for development toward the next version.
2012-12-19 23:10:28 +01:00
Kristian S. Stangeland
3b0790f136
Bumping to release of 1.8.1
2012-12-19 18:04:44 +01:00
Kristian S. Stangeland
b0cc1440dd
Revert "Remove unused classes from CGLib. Saves us 136 kB. "
...
This reverts commit b1bd7e9fcd
.
2012-12-19 17:52:56 +01:00
Kristian S. Stangeland
d7d6e24506
Added support for the new way of converting CraftItemStacks in 1.4.5
2012-12-19 17:51:21 +01:00
Kristian S. Stangeland
b1bd7e9fcd
Remove unused classes from CGLib. Saves us 136 kB.
2012-12-15 07:17:04 +01:00
Kristian S. Stangeland
79afb0bcdc
Forgot to add the target object in the ChunkPosition wrapper.
2012-12-13 00:39:50 +01:00
Kristian S. Stangeland
86f15c8674
Fallback on our own custom object printer.
2012-12-12 18:35:58 +01:00
Kristian S. Stangeland
4440e6fcaa
Prevent ProtocolLib from spamming the console too.
2012-12-12 18:34:02 +01:00
Kristian S. Stangeland
15961f6cce
We can include the stack trace - it will only very rarely be printed.
2012-12-12 08:41:55 +01:00
Kristian S. Stangeland
7117545509
Prevent plugins from spamming the console.
2012-12-12 08:32:37 +01:00
Kristian S. Stangeland
e855be64ad
Default settings matter. Make auto-update opt-in.
2012-12-12 07:41:58 +01:00
Kristian S. Stangeland
781a945ef4
Bumping to 1.8.1-SNAPSHOT for development towards the next version.
2012-12-12 07:41:19 +01:00
Kristian S. Stangeland
4d0aa5e1c1
Updating documentation for 1.8.0
2012-12-10 16:45:24 +01:00
Kristian S. Stangeland
3d166ae353
Merge branch 'master' into gh-pages
2012-12-10 16:43:44 +01:00
Kristian S. Stangeland
afdb0d0324
Remember to perform deep cloning.
2012-12-10 16:30:48 +01:00
Kristian S. Stangeland
40345f25ff
Bumping to version 1.8.0
2012-12-10 16:10:56 +01:00
Kristian S. Stangeland
f6f8c9f80f
Only broadcast a notifcation message in the event of a warning.
2012-12-10 05:50:18 +01:00
Kristian S. Stangeland
b135bf86c3
Add the ability to skip the version check for a specific MC version.
2012-12-09 17:09:24 +01:00
Kristian S. Stangeland
7845a844d4
Make ProtocolLib load on startup. No need to wait for the world to load
2012-12-09 15:35:01 +01:00
Kristian S. Stangeland
83f5a7e5b7
Add packet information to the default packet error reporter.
2012-12-09 04:51:11 +01:00
Kristian S. Stangeland
7ca3e916a5
Add a warning message when ProtocolLib is started on untested version.
...
May decide to simply stop ProtocolLib unless this feature is
specifically disabled.
2012-12-09 04:23:26 +01:00
Kristian S. Stangeland
6b5ecd7309
Improve the functionality of wrapped DataWatcher and WatchableObject.
2012-12-08 14:22:07 +01:00
Kristian S. Stangeland
af546e7f1d
Ignore depcreciation - we're using the method correctly.
2012-12-06 04:04:07 +01:00
Kristian S. Stangeland
6530db23b7
Last commit contains breaking API changes, so increment version.
2012-12-06 03:54:25 +01:00
Kristian S. Stangeland
0745fba881
Massive update that ensures ProtocolLib is compatible with 1.4.5-R3.0
...
Due to 8f12382e8efc8c39a919af9180dd884caf3720ff, CraftBukkit has
now moved the net.minecraft.server package and org.bukkit.craftbukkit
to versioned package names, breaking all plugins that rely on these
directly.
ProtocolLib was never intended to be updated specifcally for new
versions of Minecraft (hence the index-based system of accessing
packets instead of making wrapper classes), so we will use reflection
to "ignore" this hack entirely. Luckily, ProtocolLib was initially
designed for this in mind, so we don't have to refactor it entirely.
2012-12-06 03:37:20 +01:00
Kristian S. Stangeland
45c28d47c8
Create a new dedicated Minecraft reflection class.
2012-12-05 23:47:55 +01:00
Kristian S. Stangeland
88009292bb
Update to the new CraftBukkit snapshot.
2012-12-05 23:47:36 +01:00
Kristian S. Stangeland
25d41ed51c
Ensure that fake cancellation packets can be created.
2012-12-05 03:32:13 +01:00
Kristian S. Stangeland
ede60970b9
Ensure that we don't cache wrong methods in the serialization.
2012-12-04 16:21:37 +01:00
Kristian S. Stangeland
86d3461700
Ensure that we don't return enhancer classes as vanilla classes.
2012-12-04 14:59:08 +01:00
Kristian S. Stangeland
733ecdd59b
Increment to 1.7.2-SNAPSHOT for development towards the next version.
2012-12-04 14:49:59 +01:00
Kristian S. Stangeland
e0455b76b8
Updated to 1.7.1 - removed test classes.
2012-12-04 01:02:05 +01:00
Kristian S. Stangeland
cc88232c8e
Updated documentation for 1.7.1
2012-12-04 00:58:16 +01:00
Kristian S. Stangeland
0129a0575c
Merge branch 'master' into gh-pages
2012-12-04 00:54:36 +01:00
Kristian S. Stangeland
98edcb1772
Maven crap again.
2012-12-04 00:54:25 +01:00
Kristian S. Stangeland
7062b9327c
Fix documentation.
2012-12-04 00:21:14 +01:00
Kristian S. Stangeland
b9abf0b683
Incrementing to 1.7.1
2012-12-04 00:19:55 +01:00
Kristian S. Stangeland
98a9377384
Add a convenience retriever for integer array fields.
2012-12-04 00:18:33 +01:00
Kristian S. Stangeland
300111b850
Make it easy to clone packets.
2012-12-03 17:51:18 +01:00
Kristian S. Stangeland
f4accbfe2d
Make it possible to get every player that is tracking a given entity.
2012-12-02 02:49:11 +01:00
Kristian S. Stangeland
2bd06922e0
Ensure that the wrapped watchable object returns wrapped objects.
...
In addition, made it possible to construct watchable objects directly.
Also fixed a bug preventing data watchers from creating new watchable
objects.
2012-12-01 22:34:46 +01:00
Kristian S. Stangeland
f81e3262d0
Don't spam the console when a player logs out quickly.
2012-12-01 17:24:46 +01:00