PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
52 stars 21 forks source link

Custom block issue with LightAPI #2044

Closed IncludivicS closed 1 year ago

IncludivicS commented 1 year ago

Terms

Discord tag (optional)

𝒦𝑒𝒾𝓏𝑒𝓃𝒷𝑒𝓇𝑔𝓏_#7164

What happened?

when I mine block it not disappear and it duplicate itself.

Steps to reproduce the issue

1.place custom block. 2.break the block. 3.it not break and the item drop.

Server version

git-Paper-153 (MC: 1.19.2)

ItemsAdder Version

ItemsAdder version 3.2.3-r10

ProtocolLib Version

ProtocolLib version 5.0.0-SNAPSHOT-b600

LoneLibs Version

LoneLibs version 1.0.21

LightAPI Version (optional)

LightAPI version bukkit-5.3.0 (build SNAPSHOT)

LibsDisguises Version (optional)

LibsDisguises version 10.0.31-SNAPSHOT

FULL server log

latest.log

Error (optional)

No response

ItemsAdder config.yml

metrics: true
update-checker: true
disable-plugin-loading-messages_DONT_ASK_ME_FOR_SUPPORT_IF_YOU_SET_TRUE__THANKS: false
resource-pack:
  hosting:
    no-host:
      enabled: false
    auto-external-host:
      enabled: false
    self-host:
      enabled: true
      server-ip: vanzy.sytes.net
      pack-port: 8163
    external-host:
      enabled: false
      url: ''
      skip-url-file-type-check___DONT_ASK_HELP_IF_SET_TRUE: false
  apply-on-join: true
  kick-player-on-decline: true
  kick-player-on-fail: true
  delay-ticks: 1
  notify-other-plugins-interfering: true
  title:
    enabled: true
  protect-player:
    black-screen: true
    hide-hud: true
    cancel-movement: true
    lock-player: true
  command:
    usage-cooldown-seconds: 60
  custom-font:
    enabled: false
    name: itim.ttf
    shift: '[0,0.5]'
    size: 11.0
    oversample: 10.0
  thin-font:
    enabled: false
  zip:
    protect-file-from-unzip:
      enabled: true
      extreme: true
    compress-png-files: true
    compress-json-files: true
    overwrite-vanilla-models: false
    overwrite-vanilla-lang-json: false
    generate-custom-armors-textures:
      vanilla_1_17: true
      optifine: false
    fix_transparent_noteblocks__disable-for-more-performance: true
    ignore-files-ext:
    - db
    - yml
    - xcf
    - html
    disable-overwrite-leather-armor-layers-textures: false
  items:
    CustomModelData-starting-value:
      ALL: 10000
      DIAMOND: 11000
config_files:
  lang: en
  dictionaries-lang: en
  extract-default-resources: false
  extract-default-configs: false
  legacy_pack: true
blocks:
  light-api: false
  fix-glitched-blocks:
    enabled: true
    only-new-chunks: false
  cancel-break-wrong-tool:
    enabled: true
    send-actionbar: true
  campfire:
    unlit-on-place: false
    allow-any-item: true
  disable-REAL: false
  disable-REAL_TRANSPARENT: false
  disable-REAL_NOTE: false
  disable-REAL_WIRE: false
  disable-FIRE: false
  fix-liquids-flow: true
  fix-floating-blocks: true
items:
  fix-show-attack-and-damage-as-lore: true
  give_death_location_maps: false
  hide-custom-durability-lore: false
liquids:
  enabled: true
huds:
  enabled: true
mobs:
  disable-MOB-behaviour__DISABLE_AT_YOUR_OWN_RISK: false
font_images:
  chat:
    enabled: true
    doublecheck-permission__disable-for-more-performance: false
    add-hover-suggestion: true
  command:
    enabled: true
    commandblocks: true
    excluded:
    - home
    - sethome
    - tpa
  sign:
    enabled: true
  book:
    enabled: true
  anvil:
    enabled: true
  inventory-title:
    enabled: true
  vault-prefix-suffix:
    enabled: false
    update-every-ticks: 1200
  scoreboard-teams:
    enabled: false
    update-every-ticks: 3600
  player-display-name:
    enabled: false
    update-every-ticks: 1200
  replace-in-customitems-name-and-lore: true
effects:
  hide-scoreboard-numbers: true
  text-effects:
    enabled: true
    replace-in-customitems-name-and-lore: true
    chat:
      enabled: true
    sign:
      enabled: true
    book:
      enabled: true
    anvil:
      enabled: true
entities:
  max-furniture-vehicles-per-chunk: 130
  allow-removing-old-furnitures_2_3_11: false
  custom-entitites:
    enabled: true
    emotes: true
    interval-rendering-packets-ticks: 1
    optimized-packets: true
recipes:
  hide-vanilla-unrecognized-recipe-errors: true
  custom-recipes:
    unlock:
      all-on-join: false
      on-pickup:
        any: false
        ingredients: true
  remove-vanilla-recipes:
    enabled: true
    list:
      DIAMOND_SWORD: false
      IRON_INGOT: false
  fix-packet-too-large-kick: false
debug:
  items:
    log-files-loading: false
    log-items-loading: false
    log-items-loading-disabled: false
    log-font-images-loading: false
    log-huds-loading: false
    log-attribute-modifiers-loading: false
    log-warnings: false
    log-loots-loading: false
    log-loots-loading-disabled: false
    log-armors-loading: false
  recipes:
    log-recipes-loading: false
    log-recipes-loading-disabled: false
    log-recipes-removed-vanilla: false
    log-fix-packet-too-large: false
    log-recipes-unknown-item: false
  resource-pack:
    log-extract-default-resources: false
    log-not-extract-default-resources-already-exist: false
  blocks:
    log-save: false
    log-save-on-unload: false
    log-mined-unknown-blocks: true
  worlds-populators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-populators: false
    log-loading-no-world: true
    log-generation: false
  trees-populators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-populators: false
    log-loading-no-world: true
    log-generation: false
  surface-decorators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-decorators: false
    log-loading-no-world: true
    log-generation: false
  player-stats:
    log-save: false
  performance:
    loading-ms: true
  huds:
    log-triggers: false
  other:
    log-dictionaries-loading: false
    log-liquids-loading: false
    log-minecraft_lang_overwrite-loading: false
  categories:
    log-total-loaded: true
    log-single-loaded: false
    log-single-loaded-overwrite: false
    log-single-skip: false
    log-icon-failed-load: false
  entities:
    log-files-loading: false
    log-entities-loading: false
    log-entities-loading-disabled: false
  cave-decorators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-decorators: false
    log-loading-no-world: true
    log-generation: false
loots:
  allow-loots-drop-from-spawners-using-silk-touch: true
chat-preview: true

Problematic items yml configuration file (optional)

info:
  namespace: kitchener
items:
  oven:
    enabled: true
    display_name: display-name-oven
    resource:
      generate: false
      material: PAPER
      model_path: block/oven
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
        cancel_drop: false
        light_level: 4
        hardness: 5
        break_tools_whitelist:
          - _PICKAXE

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)

https://youtu.be/tjoD6uLR06Y

LoneDev6 commented 1 year ago

Remove every plugin from your server and test with ItemsAdder, LoneLibs, ProtocolLib installed and NOTHING ELSE. This is surely caused by another plugin interfering with custom blocks.

Let me know

IncludivicS commented 1 year ago

Yes it cause by another plugin can you tell me which plugin?

IncludivicS commented 1 year ago

AndreaCommunity, AngelChest, BestTools, BetterFarming, BossBarHealth, BuildersWand, ChestSort, CoreProtect, CustomCrops, Essentials, EternalLight, FastChunkPregenerator, FilteredHoppers, HolographicDisplays, InvSeePlusPlus, ItemsAdder, KeepChunks, LibsDisguises, LightAPI, LoneLibs, NexAuth, NexEngine, PlaceholderAPI, PlugManX (PlugMan), ProtocolLib, RHLeafDecay, SkinsRestorer, sleep-most, SmoothTimber, SpecialBackpack, StackResize, TAB, UltimateTrash, UltraPermissions, Vault, Wailat, WildStacker, WorldEdit

+** Plugin that i tested in my spare time.

LoneDev6 commented 1 year ago

The only way to know that is basically by disabling plugins one at a time and restart until you find the cause.

You can try removing 5 plugins each time and test until you find the group of plugins which cause the issue. Then find the correct plugin in the group and report it here.

IncludivicS commented 1 year ago

Found, It is lightapi(v5.3.0).

LoneDev6 commented 1 year ago

Are you sure that the cause is LightApi? Can you please share your configuration file for the block item with the bug? I only need the .YML file.

IncludivicS commented 1 year ago

Are you sure that the cause is LightApi? Can you please share your configuration file for the block item with the bug? I only need the .YML file.

Quite sure I remove it and the problem is gone,Yml file I added above.

LaeDev commented 1 year ago

so.... is there any way to use it without uninstalling LightApi?

LoneDev6 commented 1 year ago

I can't even test since LightAPI development is inactive. https://github.com/BeYkeRYkt/LightAPI/issues/38

OpticFusion1 commented 1 year ago

Enabling these options should fix it.

enable-compatibility-mode: true force-enable-legacy: true

LoneDev6 commented 1 year ago

i found another plugin. it causes with FancyCrafting + ILibrary.

I don't understand this statement

LaeDev commented 1 year ago

i found another plugin. it causes with FancyCrafting + ILibrary.

I don't understand this statement

i was trying to reproduce issue but it fixed itself.