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

Commit d1f8781

Browse files
committed
Fixed loading dependency problem.
1 parent 5d3a25c commit d1f8781

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packets/packet_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ def collect_liquid(name='collect_liquid'):
577577

578578
# (25) - GiveItem
579579
def give_item(name='give_item'):
580-
Struct(
580+
return Struct(
581581
name,
582582
star_string('name'),
583583
VLQ('count'),

plugin_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def resolve_dependencies(self, dependency_hash):
152152
ready = [
153153
x for x, d in dependency_hash.iteritems() if len(d) == 0
154154
]
155-
if ready:
155+
if not ready:
156156
ex = []
157157
for n, d in dependency_hash.iteritems():
158158
for dep in d:

0 commit comments

Comments
 (0)