mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 08:39:49 +01:00
Stone Brick isn't 'Mining' enough for Mining
Fixes MCCORE-32
This commit is contained in:
parent
96be29ef63
commit
a3cf3401bb
@ -72,7 +72,7 @@ public class LoadProperties {
|
||||
keepEnchantsRank3, keepEnchantsRank4, fishingDropChanceTier1,
|
||||
fishingDropChanceTier2, fishingDropChanceTier3,
|
||||
fishingDropChanceTier4, fishingDropChanceTier5, mnetherwart,
|
||||
mvines, mlilypad, mnetherbrick, mendstone, mmossstone, mstonebrick,
|
||||
mvines, mlilypad, mnetherbrick, mendstone, mmossstone,
|
||||
levelCapAcrobatics, levelCapArchery, levelCapAxes, levelCapExcavation,
|
||||
levelCapFishing, levelCapHerbalism, levelCapMining, levelCapRepair,
|
||||
levelCapSwords, levelCapTaming, levelCapUnarmed, levelCapWoodcutting,
|
||||
@ -265,7 +265,6 @@ public class LoadProperties {
|
||||
mnetherbrick = readInteger("Experience.Mining.Nether_Brick", 30);
|
||||
mendstone = readInteger("Experience.Mining.End_Stone", 150);
|
||||
mmossstone = readInteger("Experience.Mining.Moss_Stone", 30);
|
||||
mstonebrick = readInteger("Experience.Mining.Stone_Brick", 30);
|
||||
|
||||
mfishing = readInteger("Experience.Fishing.Base", 800);
|
||||
|
||||
|
@ -245,10 +245,6 @@ public class Mining
|
||||
case 48:
|
||||
xp += LoadProperties.mmossstone;
|
||||
break;
|
||||
//STONE BRICK
|
||||
case 98:
|
||||
xp += LoadProperties.mstonebrick;
|
||||
break;
|
||||
}
|
||||
|
||||
if(canBeSuperBroken(block))
|
||||
@ -392,14 +388,6 @@ public class Mining
|
||||
blockProcCheck(block, player);
|
||||
blockProcCheck(block, player);
|
||||
}
|
||||
//STONE BRICK
|
||||
else if(id == 98 && !plugin.misc.blockWatchList.contains(block))
|
||||
{
|
||||
Bukkit.getPluginManager().callEvent(armswing);
|
||||
xp += LoadProperties.mstonebrick;
|
||||
blockProcCheck(block, player);
|
||||
blockProcCheck(block, player);
|
||||
}
|
||||
|
||||
if(!plugin.misc.blockWatchList.contains(block) && block.getData() != (byte) 5)
|
||||
PP.addXP(SkillType.MINING, xp, player);
|
||||
|
@ -224,7 +224,6 @@ Experience:
|
||||
Nether_Brick: 30
|
||||
End_Stone: 150
|
||||
Moss_Stone: 30
|
||||
Stone_Brick: 30
|
||||
|
||||
#
|
||||
# Settings for Fishing
|
||||
|
Loading…
Reference in New Issue
Block a user