Hello everybody, is there a possibility to forbit that Silverfishes hide in blocks or destroy blocks? I can't find something in the API for this...
Hello everybody, is there an existing method to look if the player was in the world which he is entering (PlayerChangeWorldEvent) before? Like...
But the error has no connection to Spigot i think! Ithink its maybe something with java?! The Problem is that he crashes at the Math.Random() or...
Hello everybody, i have a small problem with my plugin. At this part of code which is under this text my server crashed always.... Why? The...
Hello, i have a small problem with my plugin! Sometimes when i use an method my server crashed and the most of the time not! The error of...
There is no error... The only problem is that when i want to get the informations only the first entry is there...
Hello everybody, i hope somebody can help me with my problem! I give into an Hashmap some objects so that the hashmap has a size of 4 as...
Hi everybody, I have a small problem with my Plugin. Sometimes i lose my items when i'm scrolling with my mouse above the slots.... But when i...
Hello everybody, i have a problem with one of my plugins. The plugin was for 1.6.4 and now with 1.7.9 i have some questions: Can i use...
Hello everybody, today i worked at a big project which always runned the whole day. Since 30 minutes i always get the error: [19:45:44 ERROR]:...
Hello everybody, is it possible to get the MaxHealth attribute of an entity which died? About the EntityDeathEvent? Thanks :)
It doens't work! At the moment i have following: pTarget.damage(dmg); EntityDamageEvent evt= new EntityDamageEvent(pTarget,...
Hello everybody, i have a small question to the DamageCauses.... When i kill a mob with an void in my plugin (target.damage() ) i can't get the...
Okay i write now: Entity victim = event.getEntity();...
Hello everybody, i have a small problem with the EntityDeathEvent: public void onKillEntity(EntityDeathEvent event){ Player...
Konkz so how it has to be???? :eek:
When i write it like you say it doens't go into if clause... if (event.getEntity().getKiller() != null && event.getEntity() != null) {...
When i write: if (event.getEntity().getKiller() instanceof Player && event.getEntity() instanceof Entity) { Player killer =...
Hello everybody, i want to give a messsage out if an entity die by a player but my code didn't work. Maybe anyone of you can help me? :) Here my...
One question: Did you get some errors at the console? And how did you inistializated the variables? :)
Separate names with a comma.