mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 11:44:42 +02:00
Added party itemShare mode: EQUAL
Slightly cleaner way of handling equal item sharing. Reset the item share modifier back to base when a player leaves the party Added a new config file for the itemWeights Removed the debug messages. Added Lapis_Ore to itemweights.yml Drop the item on the ground if the winningPlayer's inventory is full. Unneccesary Added a feature which allows the party leader to toggle item share categories.... That should be the rest. ItemWeights to Item_Weights
This commit is contained in:
@ -579,16 +579,23 @@ public class ItemChecks {
|
||||
case POTATO:
|
||||
case COCOA:
|
||||
case NETHER_WARTS:
|
||||
case APPLE:
|
||||
case BROWN_MUSHROOM:
|
||||
case RED_MUSHROOM:
|
||||
case RED_ROSE:
|
||||
case YELLOW_FLOWER:
|
||||
case CACTUS:
|
||||
case SUGAR_CANE:
|
||||
//TODO Add the rest
|
||||
case MELON:
|
||||
case PUMPKIN:
|
||||
case WATER_LILY:
|
||||
case VINE:
|
||||
return true;
|
||||
|
||||
case INK_SACK:
|
||||
if (is.getData().getData() == DyeColor.BROWN.getDyeData()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
@ -635,6 +642,7 @@ public class ItemChecks {
|
||||
case LOG:
|
||||
case LEAVES:
|
||||
case SAPLING:
|
||||
case APPLE:
|
||||
return true;
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user