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

Scrapping feature checks Extra Utilites 2 Quantum Quarry #28

Open
Biochao opened this issue Jan 26, 2017 · 3 comments
Open

Scrapping feature checks Extra Utilites 2 Quantum Quarry #28

Biochao opened this issue Jan 26, 2017 · 3 comments
Labels

Comments

@Biochao
Copy link

Biochao commented Jan 26, 2017

While running an Extra Utilites 2 Quantum Quarry the log was reporting this over and over:

[Server thread/DEBUG] [survivalist/]: Item broke (0xitem.pickaxeDiamond@1) and the player got 1xitem.stick@0 in return!

[Server thread/DEBUG] [survivalist/]: Item broke (0xitem.pickaxeDiamond@1) and the player got 1xitem.diamond@0 in return!

The sticks and diamonds were going into the storage.
Not sure if happens for all fake players or just how the Quantum Quarry simulates mining.

@gigaherz
Copy link
Owner

Weird, I'll have to check that. It's the first report of this kind that I get, so it can't be so common... :/

@gigaherz
Copy link
Owner

Annoyingly, I can't run extrautils2 in my development environment (it just crashes), so I can't debug this.

@gigaherz gigaherz added the bug label Jan 29, 2017
@gigaherz
Copy link
Owner

gigaherz commented Mar 5, 2018

Oh wow it has been a long time...

I have looked at the extrautils2 source code, and it seems the quarry does actually use a diamond pickaxe internally, using a "fake player" to do the mining. This means that if you use an enchantment book that contains Scrapping in it, this will happen.

The only way I can work around that, is by "blocking" XUFakePlayer instances from triggering the scrapping, which may or may not affect other XU2 machines, which wouldn't be ideal if it does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants