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

Error when setting blockType as a block with oraxen. #40

Open
PolsatGraniePL opened this issue Nov 1, 2023 · 3 comments
Open

Error when setting blockType as a block with oraxen. #40

PolsatGraniePL opened this issue Nov 1, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@PolsatGraniePL
Copy link

Describe the bug
When setting the blockType in the generator to a block from Oraxena, an error is displayed in the console:

java.util.ConcurrentModificationException: null
        at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1013) ~[?:?]
        at java.util.ArrayList$Itr.next(ArrayList.java:967) ~[?:?]
        at xyz.arcadiadevs.gensplus.tasks.CleanupTask.run(:29) ~[GensPlus.jar:?]
        at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[purpur-1.20.1.jar:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]

and the generator does not work and is not included in the number of generators after place it.

Generator config:

  - name: "&e&lWheat Generator"
    tier: 1
    price: 1000.0
    sellPrice: 10.0
    speed: 20
    spawnItem: "oraxen:hay_block_generator_item"
    blockType: "oraxen:hay_block_generator"
    lore: []
    itemSpawnLore: []
    hologramLines:
      - "&e%name%"
      - "&7Tier: &e%tier%"
      - "&7Spawns each &e%speed% &7seconds &e%spawnItem%"
      - "&7Sells for &e%sellPrice%"
    dropDisplayName: "&e&lWheat Drop"
    instantBreak: false

Screenshots
It looks normal in the gui.
image
In inventory, the only thing that changes is the type from the oraxen config to the name "oraxen:NAME"
image
And when placed, it behaves like a regular oraxen block, not like a generator.
image

Additional info:

  • Spigot Version: Purpur-2062
  • Using ViaVersion/ProtocolSupport: no
  • Your MC version: 1.20.1
@PolsatGraniePL PolsatGraniePL added the bug Something isn't working label Nov 1, 2023
@PolsatGraniePL
Copy link
Author

(I am also waiting for verification of the purchase of the plugin from spigotmc)

@PolsatGraniePL
Copy link
Author

nice...

@OpenSource03
Copy link
Member

OpenSource03 commented May 19, 2024

nice...

Hi, please send me a PM on Discord - @opensourcee.

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