wrapper_command WIP... to wrapper branch now?

This commit is contained in:
Dico200
2015-11-25 15:55:25 +01:00
parent a85194d7be
commit b3b6d15a32
7 changed files with 301 additions and 103 deletions

View File

@@ -10,14 +10,6 @@ class py_event:
except:
warn("Player doesn't exist")
@property
def cancelled(self):
return self.event.isCancelled()
@cancelled.setter
def cancelled(self, value):
self.event.setCancelled(value)
def event_handler(event_name = None, priority = "normal"):
def decorator(wrapped):
@hook.event(event_name, priority)