Converted set into list
This commit is contained in:
@@ -13,7 +13,7 @@ def onChat(event):
|
|||||||
if not event.isCancelled():
|
if not event.isCancelled():
|
||||||
sender = event.getPlayer()
|
sender = event.getPlayer()
|
||||||
words = event.getMessage().split(" ")
|
words = event.getMessage().split(" ")
|
||||||
recipients = event.getRecipients()
|
recipients = list(event.getRecipients())
|
||||||
|
|
||||||
for recipient in recipients[:]:
|
for recipient in recipients[:]:
|
||||||
rec_words = words[:] # copy
|
rec_words = words[:] # copy
|
||||||
|
|||||||
Reference in New Issue
Block a user