PluginBugs / Issues-ItemsAdder

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

[BUG] Light Level causing bug #1124

Closed 00Hrtz closed 3 years ago

00Hrtz commented 3 years ago

I created a model lantern and it places fine on the floor or ceiling and uses Paper as material, as soon as i add light_level attribute to it and run iareload, then place the lantern, everything that shares the material Paper becomes unplaceable .

Lantern Config: https://paste.helpch.at/cineqocofe.bash

No Errors in Console

[09:05:21 INFO]: Plugins (73): AdvancedAchievements, AdvancedEnchantments, AdvancedPortals, AdvancedRegionMarket, AnimatedScoreboard, Arcade, ArmorStandTools, AuctionGUIPlus, BattlePass, BedWars, BookNews, BuildBattle, ChatControlRed, CMILib, ColoredSigns, CraftingStore, CreativeItemControl, DeluxeMenus, DiscordSRV, Elevator, EpicBackpacks, EpicGuard, Essentials, FastAsyncWorldEdit (WorldEdit), HeadDatabase, HideAndSeek, HoloExtension, HolographicDisplays, HolographicPlaceholders, Images, ItemsAdder, Jobs, KeepChunks, Lib1711, LibsDisguises, LightAPI, LoneLibs, LuckPerms, MinigamesPerks, MobDisabler, Multiverse-Core, NashornPlus, Parkour, PartyAndFriends, PhatLoots, PlaceholderAPI, PlayerPoints, PlotSquared, PluginConstructorAPI, ProtocolLib, PyroFishingPro, PyroWeatherPro, QualityArmory, RandomEvents, RPGBank, SepareWorldItems, ServerNPC, ServerSigns, SetSpawn, ShopGUIPlus, SimpleStack, Spartan, SpecializedCrates, StackMob, Stylizer, SuperiorSkyblock2, SurvivalGames, TheLab, TradePlus, Vault, VoidTeleportPlus, WorldEditSUI, WorldGuard

00Hrtz commented 3 years ago

How is light source implemented, i have creativeitemscontrol which can prevent stuff from being placed, the lantern model can be placed so it's not an issue as far as the model goes. it's when the light source is added.

00Hrtz commented 3 years ago

nevermind, i've fixed it, i placed the light level attribute before the entity: armor_stand and it's working, there is an issue still though, when you place it after the entity line, it bugs out and fails to place, requiring a server restart.

00Hrtz commented 3 years ago

if you want to try replicate it, create this lantern, add it all to the server, try to place it and it should refuse to place until you restart the server.