Better code example

This commit is contained in:
iNevet 2016-02-23 15:28:14 +08:00
parent ce4779f49d
commit 7fabfad65d

View File

@ -131,6 +131,7 @@ you don't have to create an ArrayList with this version:
````java
PacketContainer fakeExplosion = new PacketContainer(PacketType.Play.Server.EXPLOSION);
fakeExplosion.getDoubles().
write(0, player.getLocation().getX()).
write(1, player.getLocation().getY()).
@ -159,4 +160,4 @@ types. It's remarkably consistent across different versions.
### Incompatibility
The following plugins (to be expanded) are not compatible with ProtocolLib:
* TagAPI
* TagAPI