Skip to content
This repository was archived by the owner on Apr 27, 2019. It is now read-only.

Commit 2d72f48

Browse files
committed
Fixed merge conflict due to indentation.
2 parents 005075f + b848b08 commit 2d72f48

2 files changed

Lines changed: 13 additions & 12 deletions

File tree

plugins/bouncer_plugin/bouncer_plugin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ def activate(self):
2020
"DAMAGE_TILE",
2121
"DAMAGE_TILE_GROUP",
2222
"REQUEST_DROP",
23-
"ENTITY_INTERACT"
23+
"ENTITY_INTERACT",
24+
"MODIFY_TILE_LIST"
2425
]
2526
for n in ["on_" + n.lower() for n in bad_packets]:
2627
setattr(self, n,

plugins/planet_protect/planet_protect_plugin.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ class PlanetProtectPlugin(SimpleCommandPlugin):
1616
def activate(self):
1717
super(PlanetProtectPlugin, self).activate()
1818
bad_packets = [
19-
"CONNECT_WIRE",
20-
"DISCONNECT_ALL_WIRES",
21-
"OPEN_CONTAINER",
22-
"CLOSE_CONTAINER",
23-
"SWAP_IN_CONTAINER",
24-
"DAMAGE_TILE",
25-
"DAMAGE_TILE_GROUP",
26-
"REQUEST_DROP",
27-
"ENTITY_INTERACT"
28-
]
29-
for n in ["on_" + n.lower() for n in bad_packets]:
19+
"CONNECT_WIRE",
20+
"DISCONNECT_ALL_WIRES",
21+
"OPEN_CONTAINER",
22+
"CLOSE_CONTAINER",
23+
"SWAP_IN_CONTAINER",
24+
"DAMAGE_TILE",
25+
"DAMAGE_TILE_GROUP",
26+
"REQUEST_DROP",
27+
"ENTITY_INTERACT",
28+
"MODIFY_TILE_LIST"]
29+
for n in ["on_"+n.lower() for n in bad_packets]:
3030
setattr(self, n, (lambda x: self.planet_check()))
3131
try:
3232
with open("plugins/planet_protect/protected_planets.json") as f:

0 commit comments

Comments
 (0)