Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/flake plugins #69

Merged
merged 2 commits into from Aug 4, 2015
Merged

Conversation

txomon
Copy link
Contributor

@txomon txomon commented Aug 4, 2015

Now this flake runs with the plugins. I just left those 4 indefinitions

@@ -349,7 +348,7 @@ def decode_extra(packet, bbuff):
def encode_extra(packet):
bbuff = utils.BoundBuffer()
if packet.data['nbt'] is None:
packet.data['nbt'] = nbt._TAG_End()
packet.data['nbt'] = nbt._TagEnd()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure, but if we change the nbt module, we could as well rename this to TagEnd

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, just wanted to be compliant, supposing you really didn't wanted to make that class available (one underscore is meant for that). Checkout __all__ if that's the case!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's _ because the code is copied from elsewhere, where it wasn't exposed.

gamingrobot added a commit that referenced this pull request Aug 4, 2015
@gamingrobot gamingrobot merged commit 1188d20 into SpockBotMC:master Aug 4, 2015
@txomon txomon deleted the feature/flake-plugins branch August 6, 2015 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants