mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-19 06:21:08 +00:00
fix lines in modpe.js
This commit is contained in:
parent
3f0c099c42
commit
012f6e7c30
1 changed files with 3 additions and 1 deletions
|
|
@ -178,7 +178,9 @@ function inject(serv,settings)
|
|||
|
||||
player._client.on("block_place", function (packet) {
|
||||
if (packet.location.y < 0) return;
|
||||
useItem(packet.location.x, packet.location.y, packet.location.z, packet.heldItem.blockId, serv.world.getBlockType(new vec3(packet.location.x, packet.location.y, packet.location.z)));
|
||||
useItem(packet.location.x, packet.location.y, packet.location.z,
|
||||
packet.heldItem.blockId,
|
||||
serv.world.getBlockType(new vec3(packet.location.x, packet.location.y, packet.location.z)));
|
||||
});
|
||||
|
||||
player._client.on('chat', function (packet) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue