PluginBugs / Issues-ItemsAdder

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

Custom Block bug with caveair #3672

Open pitruk opened 4 weeks ago

pitruk commented 4 weeks ago

Terms

Discord tag (optional)

pitruk

What happened?

if i placed a customblock in cave_air, noteblock appears instead of customblock

Steps to reproduce the issue

  1. set air to cave_air (eg. WorldEdit)
  2. place customblock
  3. customblock is now a noteblock

Server version

Current: git-Purpur-2176 (MC: 1.20.4)*

ItemsAdder Version

ItemsAdder version 3.6.4

and tested with

3.6.4-release-2

ProtocolLib Version

5.2.1-SNAPSHOT-689

AND tested with 5.2.0

LoneLibs Version

LoneLibs version 1.0.54

Full server log


[22:41:25] [ServerMain/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[22:41:27] [ServerMain/INFO]: Loaded 1174 recipes
[22:41:27] [ServerMain/ERROR]: Couldn't load advancements: [minecraft:nether/obtain_crying_obsidian, minecraft:husbandry/allay_deliver_item_to_player, minecraft:husbandry/froglights, minecraft:nether/distract_piglin, minecraft:story/obtain_armor, minecraft:adventure/trim_with_all_exclusive_armor_patterns, minecraft:adventure/very_very_frightening, minecraft:story/lava_bucket, minecraft:husbandry/ride_a_boat_with_a_goat, minecraft:end/kill_dragon, minecraft:adventure/lightning_rod_with_villager_no_fire, minecraft:nether/all_potions, minecraft:husbandry/tame_an_animal, minecraft:adventure/craft_decorated_pot_using_only_sherds, minecraft:husbandry/make_a_sign_glow, minecraft:nether/create_beacon, minecraft:story/deflect_arrow, minecraft:husbandry/leash_all_frog_variants, minecraft:story/iron_tools, minecraft:nether/brew_potion, minecraft:end/dragon_egg, minecraft:adventure/kill_mob_near_sculk_catalyst, minecraft:husbandry/fishy_business, minecraft:nether/explore_nether, minecraft:adventure/fall_from_world_height, minecraft:nether/ride_strider, minecraft:adventure/sniper_duel, minecraft:end/levitate, minecraft:nether/all_effects, minecraft:adventure/bullseye, minecraft:nether/get_wither_skull, minecraft:husbandry/bred_all_animals, minecraft:story/mine_stone, minecraft:adventure/two_birds_one_arrow, minecraft:story/enter_the_nether, minecraft:adventure/whos_the_pillager_now, minecraft:story/upgrade_tools, minecraft:adventure/walk_on_powder_snow_with_leather_boots, minecraft:husbandry/tactical_fishing, minecraft:adventure/salvage_sherd, minecraft:story/cure_zombie_villager, minecraft:husbandry/feed_snifflet, minecraft:end/find_end_city, minecraft:story/form_obsidian, minecraft:end/enter_end_gateway, minecraft:nether/obtain_blaze_rod, minecraft:nether/loot_bastion, minecraft:adventure/shoot_arrow, minecraft:husbandry/silk_touch_nest, minecraft:adventure/arbalistic, minecraft:end/respawn_dragon, minecraft:story/smelt_iron, minecraft:nether/charge_respawn_anchor, minecraft:story/shiny_gear, minecraft:end/elytra, minecraft:husbandry/tadpole_in_a_bucket, minecraft:husbandry/wax_off, minecraft:adventure/summon_iron_golem, minecraft:adventure/avoid_vibration, minecraft:nether/return_to_sender, minecraft:adventure/sleep_in_bed, minecraft:end/dragon_breath, minecraft:adventure/kill_all_mobs, minecraft:story/enchant_item, minecraft:husbandry/obtain_sniffer_egg, minecraft:adventure/voluntary_exile, minecraft:story/follow_ender_eye, minecraft:adventure/spyglass_at_parrot, minecraft:husbandry/obtain_netherite_hoe, minecraft:adventure/totem_of_undying, minecraft:adventure/kill_a_mob, minecraft:husbandry/plant_any_sniffer_seed, minecraft:adventure/adventuring_time, minecraft:husbandry/plant_seed, minecraft:nether/find_bastion, minecraft:husbandry/axolotl_in_a_bucket, minecraft:husbandry/allay_deliver_cake_to_note_block, minecraft:adventure/spyglass_at_dragon, minecraft:nether/ride_strider_in_overworld_lava, minecraft:adventure/trade_at_world_height, minecraft:husbandry/wax_on, minecraft:adventure/play_jukebox_in_meadows, minecraft:adventure/hero_of_the_village, minecraft:nether/obtain_ancient_debris, minecraft:nether/create_full_beacon, minecraft:nether/summon_wither, minecraft:husbandry/balanced_diet, minecraft:nether/fast_travel, minecraft:adventure/read_power_of_chiseled_bookshelf, minecraft:nether/use_lodestone, minecraft:husbandry/safely_harvest_honey, minecraft:adventure/trade, minecraft:adventure/spyglass_at_ghast, minecraft:adventure/trim_with_any_armor_pattern, minecraft:nether/uneasy_alliance, minecraft:story/mine_diamond, minecraft:husbandry/kill_axolotl_target, minecraft:nether/find_fortress, minecraft:adventure/throw_trident, minecraft:adventure/honey_block_slide, minecraft:adventure/ol_betsy, minecraft:nether/netherite_armor, minecraft:story/enter_the_end, minecraft:husbandry/breed_an_animal, minecraft:husbandry/complete_catalogue]
[22:41:27] [ServerMain/INFO]: Loaded 1165 advancements
[22:41:27] [Server thread/INFO]: Starting minecraft server version 1.20.4
[22:41:27] [Server thread/INFO]: Loading properties
[22:41:27] [Server thread/INFO]: This server is running Purpur version git-Purpur-2176 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 6b1ee98 on HEAD)
[22:41:28] [Server thread/INFO]: Server Ping Player Sample Count: 12
[22:41:28] [Server thread/INFO]: Using 4 threads for Netty based IO
[22:41:28] [Server thread/INFO]: [ChunkTaskScheduler] Chunk system is using 1 I/O threads, 8 worker threads, and gen parallelism of 8 threads
[22:41:29] [Server thread/INFO]: [Pufferfish] Max SIMD vector size on this system is 256 bits (int)
[22:41:29] [Server thread/INFO]: [Pufferfish] Max SIMD vector size on this system is 256 bits (float)
[22:41:29] [Server thread/INFO]: [Pufferfish] SIMD operations detected as functional. Will replace some operations with faster versions.
[22:41:29] [Server thread/INFO]: Default game type: SURVIVAL
[22:41:29] [Server thread/INFO]: Generating keypair
[22:41:29] [Server thread/INFO]: Starting Minecraft server on 0.0.0.0:27240
[22:41:29] [Server thread/INFO]: Using epoll channel type
[22:41:29] [Server thread/INFO]: Paper: Using libdeflate (Linux x86_64) compression from Velocity.
[22:41:29] [Server thread/INFO]: Paper: Using OpenSSL 3.0.x (Linux x86_64) cipher from Velocity.
[22:41:29] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loading 1 libraries... please wait
[22:41:29] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loaded library /home/container/libraries/org/apache/httpcomponents/httpmime/4.5.14/httpmime-4.5.14.jar
[22:41:29] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loaded library /home/container/libraries/org/apache/httpcomponents/httpclient/4.5.14/httpclient-4.5.14.jar
[22:41:29] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loaded library /home/container/libraries/org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar
[22:41:29] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loaded library /home/container/libraries/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
[22:41:29] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loaded library /home/container/libraries/commons-codec/commons-codec/1.11/commons-codec-1.11.jar
[22:41:29] [Server thread/INFO]: [spark] Loading server plugin spark v1.10.66
[22:41:29] [Server thread/INFO]: [Vault] Loading server plugin Vault v1.7.3-CMI
[22:41:29] [Server thread/INFO]: [LoneLibs] Loading server plugin LoneLibs v1.0.54
[22:41:29] [Server thread/INFO]: [ProtocolLib] Loading server plugin ProtocolLib v5.2.0-SNAPSHOT-679
[22:41:30] [Server thread/INFO]: [ItemsAdder] Loading server plugin ItemsAdder v3.6.4-release-2
[22:41:31] [Server thread/ERROR]: »  
[22:41:31] [Server thread/ERROR]: »  
[22:41:31] [Server thread/ERROR]: » Error: Please check your config.yml and see if you have enabled multiple host types.
You must enable one of them not all or none.
[22:41:31] [Server thread/ERROR]: »  
[22:41:31] [Server thread/WARN]: » Enabled 'no-host' option temporarily.
[22:41:31] [Server thread/ERROR]: »  
[22:41:31] [Server thread/ERROR]: »  
[22:41:31] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[22:41:31] [Server thread/INFO]: [Vault] Enabling Vault v1.7.3-CMI
[22:41:31] [Server thread/INFO]: [Vault] [Permission] SuperPermissions loaded as backup permission system.
[22:41:31] [Server thread/INFO]: [Vault] Enabled Version 1.7.3-CMI
[22:41:31] [Server thread/INFO]: [LoneLibs] Enabling LoneLibs v1.0.54
[22:41:31] [Server thread/INFO]: [ProtocolLib] Enabling ProtocolLib v5.2.0-SNAPSHOT-679
[22:41:31] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[22:41:31] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[22:41:31] [Server thread/WARN]: Whilst this makes it possible to use BungeeCord, unless access to your server is properly restricted, it also opens up the ability for hackers to connect with any username they choose.
[22:41:31] [Server thread/WARN]: Please see http://www.spigotmc.org/wiki/firewall-guide/ for further information.
[22:41:31] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[22:41:31] [Server thread/INFO]: Preparing level "world"
[22:41:31] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[22:41:31] [Server thread/INFO]: Time elapsed: 279 ms
[22:41:31] [Server thread/INFO]: [spark] Enabling spark v1.10.66
[22:41:32] [Server thread/INFO]: [spark] Using Paper ServerTickStartEvent for tick monitoring
[22:41:32] [Server thread/INFO]: [spark] Starting background profiler...
[22:41:32] [Server thread/INFO]: [ItemsAdder] Enabling ItemsAdder v3.6.4-release-2
[22:41:33] [Server thread/INFO]: [NBTAPI] [NBTAPI] Found Minecraft: v1_20_R3! Trying to find NMS support
[22:41:33] [Server thread/INFO]: [NBTAPI] [NBTAPI] NMS support 'MC1_20_R3' loaded!
[22:41:33] [Server thread/INFO]: [NBTAPI] [NBTAPI] Using the plugin 'LoneLibs' to create a bStats instance!
[22:41:34] [Server thread/INFO]: » 
  ___  ___        __        __   __   ___  __      ItemsAdder 3.6.4-release-2
|  |  |__   |\/| /__`  /\  |  \ |  \ |__  |__)     LoneLibs 1.0.54
|  |  |___  |  | .__/ /--\ |__/ |__/ |___ |  \     Purpur git-Purpur-2176 (MC: 1.20.4)

[22:41:34] [Server thread/ERROR]: »  
[22:41:34] [Server thread/ERROR]: »  
[22:41:34] [Server thread/ERROR]: » Error: Please check your config.yml and see if you have enabled multiple host types.
You must enable one of them not all or none.
[22:41:34] [Server thread/ERROR]: »  
[22:41:34] [Server thread/WARN]: » Enabled 'no-host' option temporarily.
[22:41:34] [Server thread/ERROR]: »  
[22:41:34] [Server thread/ERROR]: »  
[22:41:34] [Server thread/INFO]: » [Host] Starting self-host webserver on port: 8164
[22:41:34] [Server thread/INFO]: Running delayed init tasks
[22:41:34] [Server thread/INFO]: » [Pack] Extracting internal contents from .jar
[22:41:34] [Craft Scheduler Thread - 6 - Vault/INFO]: [Vault] Checking for Updates ... 
[22:41:34] [Craft Scheduler Thread - 1 - ItemsAdder/INFO]: » [License] Spigot product licensed to: pitruk (61758)
[22:41:35] [Craft Scheduler Thread - 6 - Vault/INFO]: [Vault] No new version available
[22:41:35] [Server thread/INFO]: » [Pack] DONE extracting internal contents from .jar
[22:41:35] [Server thread/WARN]: » Detected legacy ItemsAdder pack (pre 3.3.0).
[22:41:35] [Server thread/WARN]: » Trying to load files, unexpected results might occur.
[22:41:35] [Server thread/WARN]: » It's adviced to follow the new guidelines: https://a.devs.beer/ia-new-guidelines-330
[22:41:37] [Server thread/ERROR]: » Cannot set model_id for item jeqo:air Another item is already using model_id 7000 [elgae:air]
[22:41:37] [Server thread/ERROR]: » If '[elgae:air]' doesn't exists anymore you can run '/iacleancache items' command and then '/iareload'.
[22:41:37] [Server thread/INFO]: Done (10.461s)! For help, type "help"
[22:41:37] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 3027ms or 60 ticks behind
[22:41:38] [Craft Scheduler Thread - 6 - ItemsAdder/INFO]: » Loaded 2324 items
[22:41:38] [Craft Scheduler Thread - 6 - ItemsAdder/INFO]: » Used 5/188 REAL block IDs
[22:41:38] [Craft Scheduler Thread - 6 - ItemsAdder/INFO]: » Used 160/750 REAL_NOTE block IDs
[22:41:38] [Craft Scheduler Thread - 6 - ItemsAdder/INFO]: » Used 39/63 REAL_TRANSPARENT block IDs
[22:41:38] [Craft Scheduler Thread - 6 - ItemsAdder/INFO]: » Used 81/127 REAL_WIRE block IDs
[22:41:38] [Craft Scheduler Thread - 6 - ItemsAdder/INFO]: » Used 0/14 FIRE block IDs
[22:41:38] [Craft Scheduler Thread - 6 - ItemsAdder/INFO]: » Used 979/6608 font_images
[22:41:38] [Craft Scheduler Thread - 6 - ItemsAdder/INFO]: » [Init] Loaded 35 categories
[22:41:38] [Craft Scheduler Thread - 6 - ItemsAdder/INFO]: » [Init] Loaded successfully.
[22:41:38] [Craft Scheduler Thread - 6 - ItemsAdder/INFO]: » [Pack] Resourcepack URL (self-host): http://allay.aximc.pl:8164/generated.zip
[22:42:45] [User Authenticator #0/INFO]: UUID of player _vblackten is 7f9e4d5a-97be-4cfd-96ac-e820de76de04
[22:42:46] [Server thread/INFO]: _vblackten joined the game
[22:42:46] [Server thread/INFO]: _vblackten[/79.163.205.179:48193] logged in with entity id 152 at ([world]211.1839992467146, -31.0, 472.88678000375654)
[22:43:15] [User Authenticator #0/INFO]: UUID of player pitruk is 30bf280c-e485-4d7e-beff-d30f90618d61
[22:43:15] [Server thread/INFO]: pitruk joined the game
[22:43:15] [Server thread/INFO]: pitruk[/185.41.82.117:44761] logged in with entity id 153 at ([world]192.32549552443086, -32.0, 464.7118432348616)
[22:43:23] [User Authenticator #0/INFO]: UUID of player Nerwowiec is c902380b-99ad-4ee5-b280-db7603cd21ed
[22:43:23] [Server thread/INFO]: Nerwowiec joined the game
[22:43:23] [Server thread/INFO]: Nerwowiec[/84.192.128.116:34371] logged in with entity id 154 at ([world]205.5, 62.0, 471.5)
[22:43:27] [Async Chat Thread - #0/INFO]: <Nerwowiec> oj
[22:43:37] [Async Chat Thread - #1/INFO]: <_vblackten> no 2 min
[22:43:42] [Async Chat Thread - #1/INFO]: <Nerwowiec> no dobra poczekam :likejp2:
[22:43:48] [Async Chat Thread - #1/INFO]: <Nerwowiec> poogladam sobie
[22:45:01] [Server thread/INFO]: Stopping the server
[22:45:01] [Server thread/INFO]: Stopping server
[22:45:01] [Server thread/INFO]: [ItemsAdder] Disabling ItemsAdder v3.6.4-release-2
[22:45:01] [pool-17-thread-1/INFO]: » [Host] Stopped self-host webserver on port: 8164
[22:45:01] [Server thread/INFO]: [ProtocolLib] Disabling ProtocolLib v5.2.0-SNAPSHOT-679
[22:45:01] [Server thread/INFO]: [LoneLibs] Disabling LoneLibs v1.0.54
[22:45:01] [Server thread/INFO]: [Vault] Disabling Vault v1.7.3-CMI
[22:45:01] [Server thread/INFO]: [spark] Disabling spark v1.10.66
[22:45:01] [Server thread/INFO]: Saving players
[22:45:01] [Server thread/INFO]: _vblackten lost connection: Server closed
[22:45:01] [Server thread/INFO]: _vblackten left the game
[22:45:01] [Server thread/INFO]: pitruk lost connection: Server closed
[22:45:01] [Server thread/INFO]: pitruk left the game
[22:45:01] [Server thread/INFO]: Nerwowiec lost connection: Server closed
[22:45:01] [Server thread/INFO]: Nerwowiec left the game
[22:45:01] [Server thread/INFO]: Saving worlds
[22:45:01] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[22:45:01] [Server thread/INFO]: [ChunkHolderManager] Waiting 60s for chunk system to halt for world 'world'
[22:45:01] [Server thread/INFO]: [ChunkHolderManager] Halted chunk system for world 'world'
[22:45:01] [Server thread/INFO]: [ChunkHolderManager] Saving all chunkholders for world 'world'
[22:45:02] [Server thread/INFO]: [ChunkHolderManager] Saved 1012 block chunks, 1012 entity chunks, 0 poi chunks in world 'world' in 0.88s
[22:45:02] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[22:45:02] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[22:45:02] [Server thread/INFO]: Flushing Chunk IO
[22:45:02] [Server thread/INFO]: Closing Thread Pool
[22:45:02] [Server thread/INFO]: Closing Server

Error (optional)

No response

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

Andre601 commented 4 weeks ago
[22:41:30] [Server thread/INFO]: [ItemsAdder] Loading server plugin ItemsAdder v3.6.4-release-2
[22:41:31] [Server thread/ERROR]: »  
[22:41:31] [Server thread/ERROR]: »  
[22:41:31] [Server thread/ERROR]: » Error: Please check your config.yml and see if you have enabled multiple host types.
You must enable one of them not all or none.
[22:41:31] [Server thread/ERROR]: »  
[22:41:31] [Server thread/WARN]: » Enabled 'no-host' option temporarily.
[22:41:31] [Server thread/ERROR]: »  
[22:41:31] [Server thread/ERROR]: »

I find it strange that these lines show up, despite you apparently using the self-host option it seems

pitruk commented 4 weeks ago
[22:41:30] [Server thread/INFO]: [ItemsAdder] Loading server plugin ItemsAdder v3.6.4-release-2
[22:41:31] [Server thread/ERROR]: »  
[22:41:31] [Server thread/ERROR]: »  
[22:41:31] [Server thread/ERROR]: » Error: Please check your config.yml and see if you have enabled multiple host types.
You must enable one of them not all or none.
[22:41:31] [Server thread/ERROR]: »  
[22:41:31] [Server thread/WARN]: » Enabled 'no-host' option temporarily.
[22:41:31] [Server thread/ERROR]: »  
[22:41:31] [Server thread/ERROR]: »

I find it strange that these lines show up, despite you apparently using the self-host option it seems

I know. This does not apply to the topic described. This is just a server created for testing purposes.