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

Duplication Issue [v21.2.0] #64

Open
DavidKDean opened this issue Apr 27, 2024 · 0 comments
Open

Duplication Issue [v21.2.0] #64

DavidKDean opened this issue Apr 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@DavidKDean
Copy link

Describe the bug
When "attacking" certain blocks you get 3x the return. IE: Farm Plot, Candles, Chairs, Torches, etc

To Reproduce
Steps to reproduce the behavior:

  1. Place a Candle
  2. Melee with fist or weapon
  3. You are given back 3 Candles instead of 1.

Farm Plots are the only "Blocks" I've found that doesn't normally have a "Pick Up" to actually do this.

Expected behavior
Get 1x back instead of 3x.

Screenshots

Candles:
https://cdn.discordapp.com/attachments/627502968014635018/1233481156197089321/image.png?ex=662d4058&is=662beed8&hm=4fa0b15884dbf4532c1552d48e89957d23aea7fd97410af50d9010c6766d09c9&

Torches:
https://cdn.discordapp.com/attachments/627502968014635018/1233481303060516955/image.png?ex=662d407b&is=662beefb&hm=95b48349a1faeacf51577528fe34f0950cd8cc452c56e11c6ea5c488dd8bc086&

Additional context
I found a way to stop Farm Plots from being duplicated.

Search for the lines:

<set xpath="//block[@name='farmPlotBlock']/drop[@event='Harvest' and @name='resourceClayLump']/@count">55</set>
<set xpath="//block[@name='farmPlotBlock']/drop[@event='Harvest' and @name='resourcePotassiumNitratePowder']/@count">10</set>

Add the line:

<set xpath="//block[@name='farmPlotBlock']/drop[@event='Destroy' and @name='farmPlotBlockVariantHelper']/@count">1</set>

Should look like this:
https://cdn.discordapp.com/attachments/627502968014635018/1233479514844168243/image.png?ex=662d3ed1&is=662bed51&hm=cb01af1820411078fbe0e9c881ebabad2ffd37cca96b4b889bf0d3f684aa3fce&

@DavidKDean DavidKDean changed the title Duplication Issue Duplication Issue [v21.2.0] Apr 28, 2024
@dyoung522 dyoung522 added the bug Something isn't working label Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants