commented un needed stuff
This commit is contained in:
@@ -10,7 +10,7 @@ Objective
|
|||||||
PlayersInQue
|
PlayersInQue
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@hook.event("org.bukkit.event.entity.ProjectileHitEvent", "high")
|
@hook.event("Entity.ProjectileHitEvent", "high")
|
||||||
def onHit(event):
|
def onHit(event):
|
||||||
print "thrown"
|
print "thrown"
|
||||||
if event.getEntity().getType() != EntityType.SNOWBALL:
|
if event.getEntity().getType() != EntityType.SNOWBALL:
|
||||||
@@ -24,8 +24,6 @@ def onHit(event):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@hook.event("PlayerInteractEvent")
|
@hook.event("PlayerInteractEvent")
|
||||||
def onClick(event):
|
def onClick(event):
|
||||||
if (event.getAction() != Action.RIGHT_CLICK_BLOCK):
|
if (event.getAction() != Action.RIGHT_CLICK_BLOCK):
|
||||||
@@ -37,7 +35,7 @@ def onClick(event):
|
|||||||
lines = bukkit.block.Sign.getLines(sign_state)
|
lines = bukkit.block.Sign.getLines(sign_state)
|
||||||
|
|
||||||
|
|
||||||
|
"""
|
||||||
class Queue(Object):
|
class Queue(Object):
|
||||||
|
|
||||||
queue = []
|
queue = []
|
||||||
@@ -87,16 +85,15 @@ class Coordinate(Object):
|
|||||||
xd = location.getBlockX() - getX()
|
xd = location.getBlockX() - getX()
|
||||||
zd = location.getBlockZ() - getZ()
|
zd = location.getBlockZ() - getZ()
|
||||||
return xd >= 0 and xd <= range_ and zd >= 0 and zd <= range_
|
return xd >= 0 and xd <= range_ and zd >= 0 and zd <= range_
|
||||||
"""
|
|
||||||
class Match(Object):
|
class Match(Object):
|
||||||
|
|
||||||
names = []
|
names = []
|
||||||
|
|
||||||
def __init__(self, ):
|
def __init__(self, ):
|
||||||
"""
|
|
||||||
def getArena(location):
|
def getArena(location):
|
||||||
for name in arenas:
|
for name in arenas:
|
||||||
arena = arenas.get(name)
|
arena = arenas.get(name)
|
||||||
if arena.getLocation().inRange(location, arena.getSize() - 1)
|
if arena.getLocation().inRange(location, arena.getSize() - 1)
|
||||||
return arena
|
return arena
|
||||||
return None
|
return None
|
||||||
|
"""
|
||||||
Reference in New Issue
Block a user