among us real

This commit is contained in:
ChomeNS 2023-01-14 11:01:36 +07:00
parent cd1c04e50f
commit 07c6cf8fde

View file

@ -6,6 +6,7 @@ const relativePosition = new Vec3(0, 0, 0)
function inject (bot, dcclient, config) {
const mcData = require('minecraft-data')(bot.version)
const impulseMode = !bot.options.kaboom
const core = {
start: new Vec3(null, null, null),
end: new Vec3(null, null, null),
@ -30,8 +31,6 @@ function inject (bot, dcclient, config) {
relativePosition.z = 0
}
const impulseMode = !bot.options.kaboom
const location = {
x: core.start.x + relativePosition.x,
y: core.start.y + relativePosition.y,
@ -67,7 +66,7 @@ function inject (bot, dcclient, config) {
slot: 36,
item: {
present: true,
itemId: mcData.itemsByName.repeating_command_block.id,
itemId: impulseMode ? mcData.itemsByName.command_block.id : mcData.itemsByName.repeating_command_block.id,
itemCount: 64,
nbtData: nbt.comp({
BlockEntityTag: nbt.comp({