<commit_before>return function(player, item)
  local world = player:getWorld()
  local focus = player:getWorldFocus()
  local tileX = math.floor(focus.x)
  local tileY = math.floor(focus.y)
  local wallType = GameRegistry:getWallType(
    item:getType():getConfig():getString("placedWall"))

  return world:placeWall(tileX, tileY, wall, player)
end
<commit_msg>Fix error in wall placement script<commit_after>return function(player, item)
  local world = player:getWorld()
  local focus = player:getWorldFocus()
  local tileX = math.floor(focus.x)
  local tileY = math.floor(focus.y)
  local wallType = GameRegistry:getWallType(
    item:getType():getConfig():getString("placedWall"))

  return world:placeWall(tileX, tileY, wallType, player)
end

{'fraction_non_alphanumeric': 0.12048192771084337, 'fraction_numerical': 0.0, 'mean_word_length': 5.925925925925926, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6620803', 'n_tokens_mistral': 235, 'n_tokens_neox': 232, 'n_words': 55}