Guest User

Untitled

a guest
Sep 23rd, 2012
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.38 KB | None | 0 0
  1. Error Message
  2.  
  3. 10:39:02 [SEVERE] Could not pass event PlayerInteractEvent to Loot
  4. org.bukkit.event.EventException
  5. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
  6. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
  7. at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
  8. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
  9. at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177)
  10. at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:355)
  11. at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:649)
  12. at net.minecraft.server.Packet15Place.handle(SourceFile:58)
  13. at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
  14. at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
  15. at net.minecraft.server.ServerConnection.b(SourceFile:35)
  16. at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
  17. at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581)
  18. at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
  19. at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
  20. at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
  21. at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
  22. Caused by: java.lang.NumberFormatException: For input string: "false"
  23. at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
  24. at java.lang.Integer.parseInt(Integer.java:449)
  25. at java.lang.Integer.valueOf(Integer.java:554)
  26. at me.kmacho.bukkit.loot.LootListener.getRandom(LootListener.java:425)
  27. at me.kmacho.bukkit.loot.LootListener.getContents(LootListener.java:275)
  28. at me.kmacho.bukkit.loot.LootListener.fillChest(LootListener.java:239)
  29. at me.kmacho.bukkit.loot.LootListener.onPlayerInteract(LootListener.java:161)
  30. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  31. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  32. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  33. at java.lang.reflect.Method.invoke(Method.java:597)
  34. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
  35. ... 16 more
  36. >
  37. My config
  38. #===========================================================================#
  39. # Name: Loot #
  40. # Author: Kmacho #
  41. # #
  42. # Instructions: #
  43. # Here is where you set up the different types of item lists. #
  44. # I set up an example below that you can easily modify. #
  45. # Now, onto the important stuff: #
  46. # #
  47. # ListName: #
  48. # inheritance: OtherListName #
  49. # detailed: true/false #
  50. # #
  51. # ListName - The name of this list(used in the second line of a sign) #
  52. # inheritance - Will inherit the items from the list OtherListname #
  53. # #
  54. # detailed - Set this to true if you want to specify certain properties #
  55. # of the items on that list. Know that this will make the config a #
  56. # lot longer, but will enable you to customize to your liking. #
  57. # #
  58. # Detailed format: #
  59. # items: #
  60. # ItemNameOrId: #
  61. # spawn: chance,min-max #
  62. # effects: #
  63. # - NameOfEffect,Min-Max Lvl,Chance,Splash,Extend #
  64. # #
  65. # Undetailed format: #
  66. # items: #
  67. # - ItemNameOrId,min-max,chance,randomEffect #
  68. # #
  69. # ItemNameOrId - Name or ID of the item #
  70. # effects - Effects that could be applied to the item #
  71. # min - Minimum amount to appear if it passes the chance check #
  72. # max - Maximum amount to appear if it passes the chance check #
  73. # chance - The percent chance to appear at all #
  74. # randomEffect - add a random enchantment/potion effect(defaults to true) #
  75. # splash - Makes the potion throwable(only applies to potions) #
  76. # extend - Extends the duration of the effect(only applies to potions) #
  77. # #
  78. # You can also set up per-world loot chests. When a chest is opened and #
  79. # does not have a loot sign under it, it checks if the world is on this #
  80. # list. If it is, it will choose a random list of that world and be set #
  81. # to respawn in the amout of time set on the world. #
  82. # #
  83. # worlds: #
  84. # NameOfWorld: #
  85. # time: Minutes #
  86. # lists: #
  87. # - NameOfList #
  88. #===========================================================================#
  89. settings:
  90. enable_command_permissions: true
  91. enable_list_permissions: true
  92. enable_sign_permissions: true
  93. worlds:
  94. worldname:
  95. time: 10
  96. lists:
  97. - common
  98. common:
  99. detailed: false
  100. items:
  101. - iron_sword,1,40,false
  102. - diamond_sword,1,10,false
  103. - 345,1,35,false
  104. - 357,1,3,10,50,false
  105. - 373:8229,1,4,50,false
  106. - 373:8233,1,50,false
  107. - 261,1,30,false
  108. - 262,1,25,40,false
  109. - 298,1,30,false
  110. - 299,1,30,false
  111. - 300,1,30,false
  112. - 301,1,30,false
  113. - 305,1,10,false
  114. - 306,1,10,false
  115. - 307,1,10,false
  116. - 308,1,10,false
  117. - 309,1,10,false
  118. - 310,1,5,false
  119. - 311,1,2,false
  120. - 312,1,2,false
  121. - 313,1,5,false
  122. - bread,1,5,70,false
Advertisement
Add Comment
Please, Sign In to add comment