Skip to content

Commit

Permalink
Lua code format - (Stylua)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 12, 2024
1 parent 016b6c5 commit 68ba11b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions data/events/scripts/player.lua
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,9 @@ function Player:onMoveItem(item, count, fromPosition, toPosition, fromCylinder,
return true
end

function Player:onItemMoved(item, count, fromPosition, toPosition, fromCylinder, toCylinder) return true end
function Player:onItemMoved(item, count, fromPosition, toPosition, fromCylinder, toCylinder)
return true
end

function Player:onMoveCreature(creature, fromPosition, toPosition)
local player = creature:getPlayer()
Expand All @@ -381,8 +383,12 @@ function Player:onMoveCreature(creature, fromPosition, toPosition)
return true
end

function Player:onReportRuleViolation(targetName, reportType, reportReason, comment, translation) return end
function Player:onReportBug(message, position, category) return true end
function Player:onReportRuleViolation(targetName, reportType, reportReason, comment, translation)
return
end
function Player:onReportBug(message, position, category)
return true
end

function Player:onTurn(direction)
if self:getGroup():getAccess() and self:getDirection() == direction then
Expand Down

0 comments on commit 68ba11b

Please sign in to comment.