Minor timing change

This commit is contained in:
Frank Baumann 2012-11-06 23:15:56 +01:00
parent 0b05a63fc1
commit 15effb1071

View File

@ -338,7 +338,7 @@ public class PlayerListener implements Listener{
Player player =(Player) event.getPlayer();
for(DLootInventory inventory:DLootInventory.LootInventorys){
if(event.getView()==inventory.inventoryView){
if(System.currentTimeMillis()-inventory.time>1000){
if(System.currentTimeMillis()-inventory.time>500){
for(ItemStack istack:inventory.inventory.getContents()){
if(istack!=null){
player.getWorld().dropItem(player.getLocation(), istack);