diff --git a/bl_modes/TD/ball.lua b/bl_modes/TD/ball.lua index f2c0b38..be6b4be 100644 --- a/bl_modes/TD/ball.lua +++ b/bl_modes/TD/ball.lua @@ -10,7 +10,7 @@ local function add_point() end local ball = { initial_properties = { physical = true, - collide_with_objects = true, + collide_with_objects = false, visual = "cube", visual_size = {x = 1.0, y = 1.0, z = 1.0}, collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, @@ -198,7 +198,7 @@ function ball:attach(player) player:get_meta():set_int("bl_has_ball", 1) block_league.energy_drain(arena, p_name) - self.object:set_attach(player, "Head", {x=0, y=5.5, z=0}, {x=0, y=0, z=0}) + self.object:set_attach(player, "Head", {x=0, y=10.5, z=0}, {x=0, y=0, z=0}) self.wielder = player local teamID = arena.players[p_name].teamID diff --git a/bl_weapons/weapons.lua b/bl_weapons/weapons.lua index e057ff8..7ca32db 100644 --- a/bl_weapons/weapons.lua +++ b/bl_weapons/weapons.lua @@ -463,7 +463,6 @@ function check_weapon_type_and_attack(player, weapon, pointed_thing) local bullet = weapon.bullet or nil if weapon.weapon_type == 1 then - minetest.chat_send_player(player:get_player_name(), "hitscan parte") block_league.shoot_hitscan(player, weapon, pointed_thing) elseif weapon.weapon_type == 2 then block_league.shoot_bullet(player, bullet, pointed_thing)