This repository was archived by the owner on Apr 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments