mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-13 06:05:12 +01:00
Merge pull request #150 from iNevet/master
Add the actual creation of the packet
This commit is contained in:
commit
11ca1bf51e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user