Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
comment out giving armor to players
Browse files Browse the repository at this point in the history
  • Loading branch information
keough99 authored and keough99 committed Jan 22, 2019
1 parent 7b1c97c commit 855ef8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/com/maximuspayne/navycraft/craft/Craft.java
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ public void buildCrew(Player newCaptain, boolean addOnly)
isNameOnBoard.put(p.getName(), true);

if( p != newCaptain || this.type.canFly || this.type.isTerrestrial )
{
{/*
if( this.type.canFly )
{
if( p.getInventory().getHelmet() == null )
Expand Down Expand Up @@ -861,7 +861,7 @@ public void buildCrew(Player newCaptain, boolean addOnly)
p.getInventory().addItem(new ItemStack(Material.LEATHER_BOOTS,1,(short)0));
}
}
}
*/}
}
}

Expand All @@ -873,7 +873,7 @@ public void buildCrew(Player newCaptain, boolean addOnly)
}
//captain inventory
if( !this.type.canFly && !this.type.isTerrestrial )
{
{/*
Player captain = plugin.getServer().getPlayer(this.captainName);
if( captain.getInventory().getHelmet() == null )
{
Expand Down Expand Up @@ -903,7 +903,7 @@ public void buildCrew(Player newCaptain, boolean addOnly)
{
captain.getInventory().addItem(new ItemStack(Material.GOLD_BOOTS,1,(short)0));
}
}
*/}


driverName = captainName;
Expand Down
Binary file modified target/classes/com/maximuspayne/navycraft/craft/Craft.class
Binary file not shown.

0 comments on commit 855ef8a

Please sign in to comment.