Problem with InventoryCloseEvent!

Discussion in 'Plugin Development' started by Stjubit, Feb 15, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Stjubit

    Hey Guys,

    I have a Problem with the InventoryCloseEvent. It gives me a lot of Errors!
    So here is my Idea: A Player cannot get out of the inventory, until the time has ended. It does everything else, except the InventoryCloseEvent. It cannot pass the Event. I have made the boolean variable isShot, because the event should shoot every second time.

    So here is my Code:
    Code:java
    1. package Events;
    2.  
    3. import org.bukkit.Bukkit;
    4. import org.bukkit.entity.Player;
    5. import org.bukkit.event.EventHandler;
    6. import org.bukkit.event.EventPriority;
    7. import org.bukkit.event.Listener;
    8. import org.bukkit.event.inventory.InventoryCloseEvent;
    9. import org.bukkit.inventory.Inventory;
    10. import org.bukkit.inventory.ItemStack;
    11.  
    12. import tk.stjubit.treasurechest.TreasureChest;
    13.  
    14. public class InventoryListener implements Listener {
    15.  
    16. private TreasureChest plugin;
    17.  
    18. public InventoryListener(TreasureChest instance)
    19. {
    20. this.plugin=instance;
    21. }
    22.  
    23. @EventHandler(priority=EventPriority.HIGHEST)
    24. public void onChange(InventoryCloseEvent e)
    25. {
    26. Player p = (Player) e.getPlayer();
    27.  
    28. if(plugin.isInInventory)
    29. {
    30. if(plugin.isShot)
    31. {
    32. plugin.isShot=false;
    33. }
    34. else
    35. {
    36. p.sendMessage("Shot!");
    37. Inventory inv = e.getInventory();
    38. p.openInventory(inv);
    39. plugin.isShot=true;
    40. }
    41. }
    42. }
    43.  
    44. }
    45.  


    And here is the Error:
    Code:
    yCloseEvent(CraftEventFactory.java:695) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-
    b2974jnks]
            at net.minecraft.server.v1_7_R1.EntityPlayer.closeInventory(EntityPlayer
    .java:776) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.closeInventory
    (CraftHumanEntity.java:323) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at Events.InventoryListener.onChange(InventoryListener.java:38) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .7.0_45]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:481) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:466) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleInventor
    yCloseEvent(CraftEventFactory.java:695) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-
    b2974jnks]
            at net.minecraft.server.v1_7_R1.EntityPlayer.closeInventory(EntityPlayer
    .java:776) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.closeInventory
    (CraftHumanEntity.java:323) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at Events.InventoryListener.onChange(InventoryListener.java:38) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .7.0_45]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:481) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:466) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleInventor
    yCloseEvent(CraftEventFactory.java:695) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-
    b2974jnks]
            at net.minecraft.server.v1_7_R1.EntityPlayer.closeInventory(EntityPlayer
    .java:776) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.closeInventory
    (CraftHumanEntity.java:323) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at Events.InventoryListener.onChange(InventoryListener.java:38) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .7.0_45]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:481) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:466) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleInventor
    yCloseEvent(CraftEventFactory.java:695) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-
    b2974jnks]
            at net.minecraft.server.v1_7_R1.EntityPlayer.closeInventory(EntityPlayer
    .java:776) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.closeInventory
    (CraftHumanEntity.java:323) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at Events.InventoryListener.onChange(InventoryListener.java:38) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .7.0_45]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:481) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:466) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleInventor
    yCloseEvent(CraftEventFactory.java:695) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-
    b2974jnks]
            at net.minecraft.server.v1_7_R1.EntityPlayer.closeInventory(EntityPlayer
    .java:776) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.closeInventory
    (CraftHumanEntity.java:323) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at Events.InventoryListener.onChange(InventoryListener.java:38) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .7.0_45]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:481) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:466) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleInventor
    yCloseEvent(CraftEventFactory.java:695) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-
    b2974jnks]
            at net.minecraft.server.v1_7_R1.EntityPlayer.closeInventory(EntityPlayer
    .java:776) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.closeInventory
    (CraftHumanEntity.java:323) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at Events.InventoryListener.onChange(InventoryListener.java:38) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .7.0_45]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:481) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:466) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleInventor
    yCloseEvent(CraftEventFactory.java:695) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-
    b2974jnks]
            at net.minecraft.server.v1_7_R1.EntityPlayer.closeInventory(EntityPlayer
    .java:776) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.closeInventory
    (CraftHumanEntity.java:323) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at Events.InventoryListener.onChange(InventoryListener.java:38) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .7.0_45]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:481) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:466) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleInventor
    yCloseEvent(CraftEventFactory.java:695) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-
    b2974jnks]
            at net.minecraft.server.v1_7_R1.EntityPlayer.closeInventory(EntityPlayer
    .java:776) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.closeInventory
    (CraftHumanEntity.java:323) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at Events.InventoryListener.onChange(InventoryListener.java:38) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .7.0_45]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:481) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:466) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleInventor
    yCloseEvent(CraftEventFactory.java:695) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-
    b2974jnks]
            at net.minecraft.server.v1_7_R1.EntityPlayer.closeInventory(EntityPlayer
    .java:776) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.closeInventory
    (CraftHumanEntity.java:323) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at Events.InventoryListener.onChange(InventoryListener.java:38) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .7.0_45]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:481) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:466) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleInventor
    yCloseEvent(CraftEventFactory.java:695) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-
    b2974jnks]
            at net.minecraft.server.v1_7_R1.EntityPlayer.closeInventory(EntityPlayer
    .java:776) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.closeInventory
    (CraftHumanEntity.java:323) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at Events.InventoryListener.onChange(InventoryListener.java:38) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .7.0_45]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:481) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:466) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleInventor
    yCloseEvent(CraftEventFactory.java:695) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-
    b2974jnks]
            at net.minecraft.server.v1_7_R1.EntityPlayer.closeInventory(EntityPlayer
    .java:776) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.closeInventory
    (CraftHumanEntity.java:323) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at Events.InventoryListener.onChange(InventoryListener.java:38) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .7.0_45]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:481) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:466) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleInventor
    yCloseEvent(CraftEventFactory.java:695) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-
    b2974jnks]
            at net.minecraft.server.v1_7_R1.EntityPlayer.closeInventory(EntityPlayer
    .java:776) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.closeInventory
    (CraftHumanEntity.java:323) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at Events.InventoryListener.onChange(InventoryListener.java:38) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .7.0_45]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:481) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:466) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleInventor
    yCloseEvent(CraftEventFactory.java:695) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-
    b2974jnks]
            at net.minecraft.server.v1_7_R1.EntityPlayer.closeInventory(EntityPlayer
    .java:776) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.closeInventory
    (CraftHumanEntity.java:323) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at Events.InventoryListener.onChange(InventoryListener.java:38) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .7.0_45]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:481) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:466) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleInventor
    yCloseEvent(CraftEventFactory.java:695) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-
    b2974jnks]
            at net.minecraft.server.v1_7_R1.EntityPlayer.closeInventory(EntityPlayer
    .java:776) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.closeInventory
    (CraftHumanEntity.java:323) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at Events.InventoryListener.onChange(InventoryListener.java:38) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .7.0_45]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:481) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:466) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleInventor
    yCloseEvent(CraftEventFactory.java:695) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-
    b2974jnks]
            at net.minecraft.server.v1_7_R1.EntityPlayer.closeInventory(EntityPlayer
    .java:776) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.closeInventory
    (CraftHumanEntity.java:323) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at Events.InventoryListener.onChange(InventoryListener.java:38) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .7.0_45]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:481) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    [13:35:25 WARN]: Can't keep up! Did the system time change, or is the server ove
    rloaded? Running 5545ms behind, skipping 110 tick(s)

    Thanks for every answer!
     
  2. Offline

    spoony_loony

  3. Offline

    Stjubit

    Thanks for the answer.

    How?

    Mfg,
    Stjubit

    spoony_loony
    #bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016
Thread Status:
Not open for further replies.

Share This Page