Skocz do zawartości
  • 0

Błąd


seriomaniak_pl

Pytanie

Po zmienieniu wersji skryptu z 2.5.3 do 2.6 po śmierci gracza zaczął pojawiać mi się ten błąd

Cytat

 

[21:57:27 ERROR]: #!#! 
[21:57:27 ERROR]: #!#! [Skript] Severe Error:
[21:57:27 ERROR]: #!#! 
[21:57:27 ERROR]: #!#! Something went horribly wrong with Skript.
[21:57:27 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[21:57:27 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[21:57:27 ERROR]: #!#! Here is full list of them:
[21:57:27 ERROR]: #!#! skript-reflect v2.2.3 (https://github.com/TPGamesNL/skript-reflect) skript-yaml v1.4 SkQuery v4.1.5 
[21:57:27 ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[21:57:27 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[21:57:27 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[21:57:27 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[21:57:27 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[21:57:27 ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[21:57:27 ERROR]: #!#! 
[21:57:27 ERROR]: #!#! Stack trace:
[21:57:27 ERROR]: #!#! java.lang.NullPointerException: Cannot invoke "org.bukkit.inventory.ItemStack.getAmount()" because "i" is null
[21:57:27 ERROR]: #!#!     at Skript 2.6.jar//ch.njol.skript.aliases.ItemType.<init>(ItemType.java:181)
[21:57:27 ERROR]: #!#!     at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
[21:57:27 ERROR]: #!#!     at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
[21:57:27 ERROR]: #!#!     at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
[21:57:27 ERROR]: #!#!     at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
[21:57:27 ERROR]: #!#!     at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
[21:57:27 ERROR]: #!#!     at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
[21:57:27 ERROR]: #!#!     at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
[21:57:27 ERROR]: #!#!     at Skript 2.6.jar//ch.njol.skript.expressions.ExprDrops.get(ExprDrops.java:78)
[21:57:27 ERROR]: #!#!     at Skript 2.6.jar//ch.njol.skript.expressions.ExprDrops.get(ExprDrops.java:50)
[21:57:27 ERROR]: #!#!     at Skript 2.6.jar//ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:99)
[21:57:27 ERROR]: #!#!     at Skript 2.6.jar//ch.njol.skript.lang.util.SimpleExpression.iterator(SimpleExpression.java:322)
[21:57:27 ERROR]: #!#!     at Skript 2.6.jar//ch.njol.skript.lang.util.ContainerExpression.iterator(ContainerExpression.java:53)
[21:57:27 ERROR]: #!#!     at Skript 2.6.jar//ch.njol.skript.sections.SecLoop.walk(SecLoop.java:88)
[21:57:27 ERROR]: #!#!     at Skript 2.6.jar//ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:88)
[21:57:27 ERROR]: #!#!     at Skript 2.6.jar//ch.njol.skript.lang.Trigger.execute(Trigger.java:56)
[21:57:27 ERROR]: #!#!     at Skript 2.6.jar//ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:142)
[21:57:27 ERROR]: #!#!     at Skript 2.6.jar//ch.njol.skript.SkriptEventHandler.access$000(SkriptEventHandler.java:53)
[21:57:27 ERROR]: #!#!     at Skript 2.6.jar//ch.njol.skript.SkriptEventHandler$PriorityListener.lambda$new$0(SkriptEventHandler.java:71)
[21:57:27 ERROR]: #!#!     at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[21:57:27 ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[21:57:27 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628)
[21:57:27 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:890)
[21:57:27 ERROR]: #!#!     at net.minecraft.server.level.EntityPlayer.die(EntityPlayer.java:833)
[21:57:27 ERROR]: #!#!     at net.minecraft.world.entity.EntityLiving.damageEntity(EntityLiving.java:1456)
[21:57:27 ERROR]: #!#!     at net.minecraft.world.entity.player.EntityHuman.damageEntity(EntityHuman.java:925)
[21:57:27 ERROR]: #!#!     at net.minecraft.server.level.EntityPlayer.damageEntity(EntityPlayer.java:998)
[21:57:27 ERROR]: #!#!     at net.minecraft.world.entity.projectile.EntityArrow.a(EntityArrow.java:398)
[21:57:27 ERROR]: #!#!     at net.minecraft.world.entity.projectile.IProjectile.a(IProjectile.java:181)
[21:57:27 ERROR]: #!#!     at net.minecraft.world.entity.projectile.IProjectile.preOnHit(IProjectile.java:172)
[21:57:27 ERROR]: #!#!     at net.minecraft.world.entity.projectile.EntityArrow.tick(EntityArrow.java:241)
[21:57:27 ERROR]: #!#!     at net.minecraft.world.entity.projectile.EntityTippedArrow.tick(EntityTippedArrow.java:112)
[21:57:27 ERROR]: #!#!     at net.minecraft.server.level.WorldServer.entityJoinedWorld(WorldServer.java:1120)
[21:57:27 ERROR]: #!#!     at net.minecraft.world.level.World.a(World.java:977)
[21:57:27 ERROR]: #!#!     at net.minecraft.server.level.WorldServer.lambda$tick$7(WorldServer.java:775)
[21:57:27 ERROR]: #!#!     at net.minecraft.world.level.entity.EntityTickList.a(EntityTickList.java:43)
[21:57:27 ERROR]: #!#!     at net.minecraft.server.level.WorldServer.doTick(WorldServer.java:756)
[21:57:27 ERROR]: #!#!     at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1627)
[21:57:27 ERROR]: #!#!     at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:490)
[21:57:27 ERROR]: #!#!     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1483)
[21:57:27 ERROR]: #!#!     at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1282)
[21:57:27 ERROR]: #!#!     at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
[21:57:27 ERROR]: #!#!     at java.base/java.lang.Thread.run(Thread.java:831)
[21:57:27 ERROR]: #!#! 
[21:57:27 ERROR]: #!#! Version Information:
[21:57:27 ERROR]: #!#!   Skript: 2.6 (latest)
[21:57:27 ERROR]: #!#!     Flavor: skriptlang-github
[21:57:27 ERROR]: #!#!     Date: 17:20:35.482878100
[21:57:27 ERROR]: #!#!   Bukkit: 1.17.1-R0.1-SNAPSHOT
[21:57:27 ERROR]: #!#!   Minecraft: 1.17.1
[21:57:27 ERROR]: #!#!   Java: 16.0.2 (OpenJDK 64-Bit Server VM 16.0.2+7-67)
[21:57:27 ERROR]: #!#!   OS: Linux amd64 5.4.0-91-generic
[21:57:27 ERROR]: #!#! 
[21:57:27 ERROR]: #!#! Server platform: Paper
[21:57:27 ERROR]: #!#! 
[21:57:27 ERROR]: #!#! Current node: null
[21:57:27 ERROR]: #!#! Current item: loop the drops
[21:57:27 ERROR]: #!#! Current trigger: death of player (death of player) (czaszki.sk, line 88)
[21:57:27 ERROR]: #!#! 
[21:57:27 ERROR]: #!#! Thread: Server thread
[21:57:27 ERROR]: #!#! 
[21:57:27 ERROR]: #!#! Language: english
[21:57:27 ERROR]: #!#! Link parse mode: DISABLED
[21:57:27 ERROR]: #!#! 
[21:57:27 ERROR]: #!#! End of Error.
[21:57:27 ERROR]: #!#! 

 



Powrót do poprzedniej wersji skryptu nic nie daje. 
(Skrypt działa tylko spami konsolę)
Jakieś porady?

 

Glicz

Wstawiam logi w code.

Notatka dodana przez Glicz

Odnośnik do komentarza
https://skript.pl/temat/51499-b%C5%82%C4%85d/
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...