"""
Destroy the map in Push gamemode
idk fix it?
Script by LeFizzy
"""

def apply_script(protocol, connection, config):
    class DestroyConnection(connection):
        def on_block_destroy(self, x, y, z, value):
            if not self.god:
                return False
    
    return protocol, DestroyConnection
