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

mirai - door-area-locations error #163

Closed
4 tasks done
topkide opened this issue Sep 22, 2023 · 0 comments
Closed
4 tasks done

mirai - door-area-locations error #163

topkide opened this issue Sep 22, 2023 · 0 comments
Labels

Comments

@topkide
Copy link

topkide commented Sep 22, 2023

Terms

  • I'm using the very latest version of CosmeticsCore and its dependencies.
  • I already searched on this Github page to check if the same issue was already reported.
  • I already searched on the plugin wiki to know if a solution is already known.
  • I already searched on the Discord server to know if anyone already provided a solution in the past for the issue.

Discord tag (optional)

topkide

What happened?

A bug occurs in the bucket when you enter the /cosmeticscore:cosmeticscore config set door-area-locations command and select an area.

I've seen similar bug reports before, but the same issue is happening with the Mirai bucket, the Spigot + Forge bucket.

Steps to reproduce the issue

  1. /cosmeticscore:cosmeticscore config set door-area-locations
  2. area click
  3. No response
  4. bukkit error

Server version

No response

CosmeticsCore Version

CosmeticsCore version 1.2.2f

ProtocolLib Version

5.1.0

LoneLibs Version

1.0.25

FULL server log

No response

Error (optional)

[21:47:06 ERROR]: Could not pass event PlayerInteractEvent to CosmeticsCore v1.2.2f
com.comphenix.protocol.reflect.FieldAccessException: Field index 0 is out of bounds for length 0
        at com.comphenix.protocol.reflect.FieldAccessException.fromFormat(FieldAccessException.java:49) ~[ProtocolLib.jar:?]
        at com.comphenix.protocol.reflect.StructureModifier.write(StructureModifier.java:316) ~[ProtocolLib.jar:?]
        at dev.lone.cosmeticscore.nms.aK.aP.a(SourceFile:44) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.cosmeticscore.nms.aK.aP.a(SourceFile:27) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.cosmeticscore.main.d.a(SourceFile:176) ~[CosmeticsCore_1.2.2f.jar:?]
        at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:40) ~[mirai-api-1.19.2-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[mirai-api-1.19.2-R0.1-SNAPSHOT.jar:git-Mirai-"0d56bb0"]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:72) ~[mirai-api-1.19.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:689) ~[mirai-api-1.19.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:545) ~[mirai-1.19.2.jar:git-Mirai-"0d56bb0"]
        at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:502) ~[mirai-1.19.2.jar:git-Mirai-"0d56bb0"]
        at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:497) ~[mirai-1.19.2.jar:git-Mirai-"0d56bb0"]
        at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:492) ~[mirai-1.19.2.jar:git-Mirai-"0d56bb0"]
        at net.minecraft.server.level.ServerPlayerGameMode.handleBlockBreakAction(ServerPlayerGameMode.java:198) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.handlePlayerAction(ServerGamePacketListenerImpl.java:1965) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.handle(ServerboundPlayerActionPacket.java:42) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.a(ServerboundPlayerActionPacket.java:15) ~[?:?]
        at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51) ~[?:?]
        at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:171) ~[?:?]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:133) ~[?:?]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1350) ~[mirai-1.19.2.jar:git-Mirai-"0d56bb0"]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1343) ~[mirai-1.19.2.jar:git-Mirai-"0d56bb0"]
        at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:144) ~[?:?]
        at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1319) ~[mirai-1.19.2.jar:git-Mirai-"0d56bb0"]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1207) ~[mirai-1.19.2.jar:git-Mirai-"0d56bb0"]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:310) ~[mirai-1.19.2.jar:git-Mirai-"0d56bb0"]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]

CosmeticsCore config.yml

lang: en
extract_default_assets: true
cosmetics:
  max_equippable:
    body: 3
    balloon: 2
wardrobe_room:
  camera:
    hide_actionbar_texts: true
    rotation:
      enabled: true
    zoom:
      enabled: true
      min: 2
    fade_effect: true
    location:
      world: world
      x: -7.11498527040108
      y: 67.62000000476837
      z: 13.49932282884476
      yaw: 142.66864
      pitch: 0.298886
  mannequin:
    location:
      world: world
      x: -7.11498527040108
      y: 66.0
      z: 13.49932282884476
      yaw: 142.66864
      pitch: 0.298886
  teleport_area:
    enter:
      world: flat
      pos1:
        x: 167
        y: -61
        z: 42
      pos2:
        x: 167
        y: -57
        z: 37
    exit_location:
      world: flat
      x: 164
      y: -60
      z: 40
      yaw: 98
      pitch: 10
  gui:
    cursor_default: fermented_spider_eye:9000001
    cursor_rotate: fermented_spider_eye:9000002
    cursor_pointer: fermented_spider_eye:9000003
    dyeing_pointer: fermented_spider_eye:9100003
    tutorial_gui: fermented_spider_eye:9100004
    tutorial_gui_checked: fermented_spider_eye:9100005
    slots:
      colors:
        not_owned: 195,147,57
        owned: 56,67,100
        wearing: 57,70,195
        wearing_preview: 195,120,57
        max_amount_reached: 111,111,111
      add_item_in_blank_slots:
        # This is useful only for some expert users that need to do some crazy stuff.
        # Do not enable it if you don't know what you are doing.
        enabled: false
        type: PAPER
        custom_model_data: 1337666
send_creative_hidden_hat_message: true
save:
  # Use only one at a time
  file:
    enabled: true
  mysql:
    enabled: false
    url: jdbc:mysql://my_url_database_69.com:3306/database_name
    username: username
    password: password
    table: cosmeticscore_saved
debug: false

Problematic items yml configuration file (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

@topkide topkide added the type: bug Something isn't working label Sep 22, 2023
@LoneDev6 LoneDev6 moved this to Todo in Other plugins Sep 29, 2023
@LoneDev6 LoneDev6 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2023
@LoneDev6 LoneDev6 added status: inactive This issue is inactive. Unofficial Spigot Fork and removed type: bug Something isn't working labels Nov 7, 2023
@LoneDev6 LoneDev6 removed the status in Other plugins Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants