mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2025-01-22 08:12:05 +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
|
````java
|
||||||
|
|
||||||
|
PacketContainer fakeExplosion = new PacketContainer(PacketType.Play.Server.EXPLOSION);
|
||||||
fakeExplosion.getDoubles().
|
fakeExplosion.getDoubles().
|
||||||
write(0, player.getLocation().getX()).
|
write(0, player.getLocation().getX()).
|
||||||
write(1, player.getLocation().getY()).
|
write(1, player.getLocation().getY()).
|
||||||
|
Loading…
Reference in New Issue
Block a user