Skip to content

Commit

Permalink
Merge pull request #396 from piqueserver/godbuild
Browse files Browse the repository at this point in the history
Remove artificial godmode requirement for godbuild
  • Loading branch information
NotAFile committed Nov 1, 2018
2 parents 47eea7f + 22627a1 commit 89af5ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions piqueserver/core_commands/moderation.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,7 @@ def god_build(connection, player=None):
player = connection
else:
raise ValueError()
if not player.god:
return 'Placing god blocks is only allowed in god mode'

player.god_build = not player.god_build

message = ('now placing god blocks' if player.god_build else
Expand Down

0 comments on commit 89af5ef

Please sign in to comment.