fix lines in modpe.js

This commit is contained in:
Romain Beaumont 2015-10-09 20:17:37 +02:00
parent 3f0c099c42
commit 012f6e7c30

View file

@ -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) {