mrlarkyy / leastereggs2 Goto Github PK
View Code? Open in Web Editor NEWA new version of my older Easter Eggs plugin
A new version of my older Easter Eggs plugin
im having a stack trace everytime an 1.19.4 player place a slimefun head on the ground , it does not happen when the user is on 1.19.3
the server is using pufferfish 1.17.1 and 1.19.4 users are connecting with viaversion it also hapen for geyser (bedrocks) user cuz they are on latest version automaticaly
here is the stack trace
[17:08:24] [Server thread/ERROR]: Could not pass event BlockPlaceEvent to Leastereggs v1.0-SNAPSHOT java.lang.NullPointerException: Cannot invoke "org.bukkit.inventory.meta.ItemMeta.getLocalizedName()" because the return value of "org.bukkit.inventory.ItemStack.getItemMeta()" is null at cz.larkyy.leastereggs.listeners.BlockPlaceListener.onBlockPlace(BlockPlaceListener.java:54) ~[lEasterEggs-2.1.3.jar:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor247.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.17.1.jar:git-Pufferfish-22] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.17.1.jar:git-Pufferfish-22] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.1.jar:git-Pufferfish-22] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:630) ~[patched_1.17.1.jar:git-Pufferfish-22] at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:392) ~[patched_1.17.1.jar:git-Pufferfish-22] at net.minecraft.world.item.ItemStack.placeItem(ItemStack.java:373) ~[patched_1.17.1.jar:git-Pufferfish-22] at net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:604) ~[app:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:1816) ~[app:?] at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:33) ~[app:?] at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.a(ServerboundUseItemOnPacket.java:9) ~[app:?] at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:56) ~[app:?] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[patched_1.17.1.jar:git-Pufferfish-22] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149) ~[app:?] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[app:?] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1428) ~[patched_1.17.1.jar:git-Pufferfish-22] at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:192) ~[patched_1.17.1.jar:git-Pufferfish-22] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[app:?] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1406) ~[patched_1.17.1.jar:git-Pufferfish-22] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1399) ~[patched_1.17.1.jar:git-Pufferfish-22] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132) ~[app:?] at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1377) ~[patched_1.17.1.jar:git-Pufferfish-22] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1288) ~[patched_1.17.1.jar:git-Pufferfish-22] at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:321) ~[patched_1.17.1.jar:git-Pufferfish-22] at java.lang.Thread.run(Thread.java:833) ~[?:?]
Event/Mini-game.
This mini-game is about collecting as many eggs as possible before the time runs out, whoever gets the most eggs will get a special random egg.
Select an area/chunks to perform an Easter Egg Hunt event (p1 - p2)
Add category of "special" eggs that can ONLY be obtained in these events.
Add the possibility of eggs appearing randomly within the selected area.
Add specific locations where special eggs will spawn (random/specific eggs).
Enable/Disable PvP
Enable/Disable Spawn Entities
Possibility to add multiple rounds
Placeholders
For more specific information PM
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.