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

Commit b848b08

Browse files
author
Marv Cool
committed
adds MODIFY_TILE_LIST to the list of bad packets
1 parent 7596a34 commit b848b08

2 files changed

Lines changed: 4 additions & 2 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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def activate(self):
2424
"DAMAGE_TILE",
2525
"DAMAGE_TILE_GROUP",
2626
"REQUEST_DROP",
27-
"ENTITY_INTERACT"
27+
"ENTITY_INTERACT",
28+
"MODIFY_TILE_LIST"
2829
]
2930
for n in ["on_"+n.lower() for n in bad_packets]:
3031
setattr(self, n, (lambda x: self.planet_check()))

0 commit comments

Comments
 (0)