mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Temporarily removed unarmed item pickup until it gets fixed
This commit is contained in:
parent
e66ed3f3f1
commit
7e5a8bc659
@ -7,6 +7,9 @@ Key:
|
|||||||
! Change
|
! Change
|
||||||
- Removal
|
- Removal
|
||||||
|
|
||||||
|
Version 2.1.3
|
||||||
|
Temporarily removed the unarmed no-item pickup feature until its fixed
|
||||||
|
|
||||||
Version 2.1.2
|
Version 2.1.2
|
||||||
(Compatibility) mcMMO now deals custom damage type for all damage sources to be more compatible with other plugins (such as anti-cheat)
|
(Compatibility) mcMMO now deals custom damage type for all damage sources to be more compatible with other plugins (such as anti-cheat)
|
||||||
(Perks) Fixed a bug where the Lucky perk wasn't adding to success
|
(Perks) Fixed a bug where the Lucky perk wasn't adding to success
|
||||||
|
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||||
<artifactId>mcMMO</artifactId>
|
<artifactId>mcMMO</artifactId>
|
||||||
<version>2.1.2</version>
|
<version>2.1.3-SNAPSHOT</version>
|
||||||
<name>mcMMO</name>
|
<name>mcMMO</name>
|
||||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||||
<scm>
|
<scm>
|
||||||
|
@ -393,18 +393,18 @@ public class PlayerListener implements Listener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player.getInventory().getItemInMainHand().getType() == Material.AIR) {
|
/*if (player.getInventory().getItemInMainHand().getType() == Material.AIR) {
|
||||||
Unarmed.handleItemPickup(player, event);
|
Unarmed.handleItemPickup(player, event);
|
||||||
/*boolean cancel = Config.getInstance().getUnarmedItemPickupDisabled() || pickupSuccess;
|
*//*boolean cancel = Config.getInstance().getUnarmedItemPickupDisabled() || pickupSuccess;
|
||||||
event.setCancelled(cancel);
|
event.setCancelled(cancel);
|
||||||
|
|
||||||
if (pickupSuccess) {
|
if (pickupSuccess) {
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
}*//*
|
||||||
}*/
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor PlayerQuitEvents.
|
* Monitor PlayerQuitEvents.
|
||||||
|
Loading…
Reference in New Issue
Block a user