mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-09 20:31:28 +01:00
Minor timing change
This commit is contained in:
parent
0b05a63fc1
commit
15effb1071
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user