Skip to content

Commit 4bcbf53

Browse files
committed
Kraken: fix removing blocks
1 parent fa92e8a commit 4bcbf53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: kraken.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1020,8 +1020,9 @@ def set_block_color(self, color):
10201020
def remove_block(self, x, y, z, user = False):
10211021
if z >= 63:
10221022
return False
1023-
if not self.map.remove_point(x, y, z):
1023+
if not self.map.get_solid(x, y, z):
10241024
return False
1025+
self.map.remove_point(x, y, z)
10251026
block_action.value = DESTROY_BLOCK
10261027
block_action.player_id = 32
10271028
block_action.x = x

0 commit comments

Comments
 (0)