-
Notifications
You must be signed in to change notification settings - Fork 2
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
AccountBalanceChangeEvent #2
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
j'ai mis un commentaire, le reste a l'air good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
746eb0e Fix pour l'erreur ci-dessous lors de la destruction d'un vault coffre simple:
[23:17:05 ERROR]: Could not pass event BlockDestroyEvent to Gringotts v3.0.1-SNAPSHOT
java.lang.NullPointerException: Cannot invoke "org.bukkit.inventory.InventoryHolder.getInventory()" because "holder" is null
at gringotts-3.0.1-SNAPSHOT.jar/org.gestern.gringotts.AccountChest.matchesLocation(AccountChest.java:102) ~[gringotts-3.0.1-SNAPSHOT.jar:?]
at gringotts-3.0.1-SNAPSHOT.jar/org.gestern.gringotts.event.AccountListener.getAccountChestFromLocation(AccountListener.java:195) ~[gringotts-3.0.1-SNAPSHOT.jar:?]
at gringotts-3.0.1-SNAPSHOT.jar/org.gestern.gringotts.event.AccountListener.onSignBreak(AccountListener.java:90) ~[gringotts-3.0.1-SNAPSHOT.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor14.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:1.21.1-131-84281ce]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.event.Event.callEvent(Event.java:45) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at net.minecraft.world.level.Level.destroyBlock(Level.java:1186) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.world.level.block.Block.updateOrDestroy(Block.java:200) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.world.level.redstone.NeighborUpdater.executeShapeUpdate(NeighborUpdater.java:50) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.world.level.redstone.CollectingNeighborUpdater$ShapeUpdate.runNext(CollectingNeighborUpdater.java:152) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.world.level.redstone.CollectingNeighborUpdater.runUpdates(CollectingNeighborUpdater.java:80) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.world.level.redstone.CollectingNeighborUpdater.addAndRun(CollectingNeighborUpdater.java:65) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.world.level.redstone.CollectingNeighborUpdater.shapeUpdate(CollectingNeighborUpdater.java:30) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.world.level.Level.neighborShapeChanged(Level.java:1237) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.updateNeighbourShapes(BlockBehaviour.java:1190) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.world.level.Level.notifyAndUpdatePhysics(Level.java:1147) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.world.level.Level.setBlock(Level.java:1098) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.world.level.Level.setBlock(Level.java:1012) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.world.level.Level.removeBlock(Level.java:1167) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.server.level.ServerPlayerGameMode.destroyBlock(ServerPlayerGameMode.java:430) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.server.level.ServerPlayerGameMode.destroyAndAck(ServerPlayerGameMode.java:342) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.server.level.ServerPlayerGameMode.handleBlockBreakAction(ServerPlayerGameMode.java:215) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handlePlayerAction(ServerGamePacketListenerImpl.java:1856) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.handle(ServerboundPlayerActionPacket.java:51) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.handle(ServerboundPlayerActionPacket.java:20) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:56) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:151) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1535) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:201) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:125) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1512) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1505) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:135) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:1464) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1471) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1316) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329) ~[paper-1.21.1.jar:1.21.1-131-84281ce]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
…ntory()" because "holder" is null
34e57a1 Fix l'erreur ci-dessous à l'intéraction avec un coffre après avoir cassé un panneau de vault.
|
…nventory()" because "holder" is null" This reverts commit 746eb0e.
288e0b8 Fix l'erreur ci-dessous à la destruction d'un panneau.
|
Lands integration