project uses tabs instead of spaces(as in CONTRIBUTING.md)

This commit is contained in:
GameHerobrine 2022-12-26 07:01:28 +03:00
parent f00318b6ed
commit 62571f26cd
115 changed files with 2291 additions and 2364 deletions

View file

@ -6,6 +6,6 @@ class DiamondAxeItem extends ItemAxe{
}
public function getDamageAgainstOf($e){
return 6;
return 6;
}
}

View file

@ -6,6 +6,6 @@ class DiamondPickaxeItem extends ItemPickaxe{
}
public function getDamageAgainstOf($e){
return 5;
return 5;
}
}

View file

@ -5,6 +5,6 @@ class DiamondShovelItem extends ItemShovel{
parent::__construct(DIAMOND_SHOVEL, $meta, $count, "Diamond Shovel");
}
public function getDamageAgainstOf($e){
return 4;
return 4;
}
}

View file

@ -4,9 +4,9 @@ class DiamondSwordItem extends ItemSword{
public function __construct($meta = 0, $count = 1){
parent::__construct(DIAMOND_SWORD, $meta, $count, "Diamond Sword");
}
public function getDamageAgainstOf($e)
{
return 7;
}
public function getDamageAgainstOf($e)
{
return 7;
}
}

View file

@ -21,11 +21,11 @@ class FlintSteelItem extends ItemTool{
}
public function useOn($object, $force = false){
if(($object instanceof Creeper) and $this->id === FLINT_STEEL){
$this->meta++;
return true;
}else{
return parent::useOn($object, $force);
}
if(($object instanceof Creeper) and $this->id === FLINT_STEEL){
$this->meta++;
return true;
}else{
return parent::useOn($object, $force);
}
}
}

View file

@ -5,6 +5,6 @@ class GoldenAxeItem extends ItemAxe{
parent::__construct(GOLDEN_AXE, $meta, $count, "Golden Axe");
}
public function getDamageAgainstOf($e){
return 3;
return 3;
}
}

View file

@ -6,6 +6,6 @@ class GoldenPickaxeItem extends ItemPickaxe{
}
public function getDamageAgainstOf($e){
return 2;
return 2;
}
}

View file

@ -4,9 +4,9 @@ class GoldenSwordItem extends ItemSword{
public function __construct($meta = 0, $count = 1){
parent::__construct(GOLDEN_SWORD, $meta, $count, "Golden Sword");
}
public function getDamageAgainstOf($e)
{
return 4;
}
public function getDamageAgainstOf($e)
{
return 4;
}
}

View file

@ -6,6 +6,6 @@ class IronAxeItem extends ItemAxe{
}
public function getDamageAgainstOf($e){
return 5;
return 5;
}
}

View file

@ -5,6 +5,6 @@ class IronSwordItem extends ItemSword{
parent::__construct(IRON_SWORD, $meta, $count, "Iron Sword");
}
public function getDamageAgainstOf($e){
return 6;
return 6;
}
}

View file

@ -6,10 +6,10 @@ class ShearsItem extends ItemTool{
}
public function useOn($object, $force = false){
if(($object instanceof Sheep) and $this->id === SHEARS){
$this->meta++;
return true;
}
parent::useOn($object, $force);
if(($object instanceof Sheep) and $this->id === SHEARS){
$this->meta++;
return true;
}
parent::useOn($object, $force);
}
}

View file

@ -4,9 +4,9 @@ class StoneShovelItem extends ItemShovel{
public function __construct($meta = 0, $count = 1){
parent::__construct(STONE_SHOVEL, $meta, $count, "Stone Shovel");
}
public function getDamageAgainstOf($e){
return 2;
return 2;
}
}

View file

@ -6,6 +6,6 @@ class WoodenPickaxeItem extends ItemPickaxe{
}
public function getDamageAgainstOf($e){
return 2;
return 2;
}
}