Skip to content

Commit

Permalink
0.3.7 恐らく受験前最後のコミット
Browse files Browse the repository at this point in the history
  • Loading branch information
bea4dev committed Jul 15, 2019
1 parent 6631835 commit 248c196
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/be4rjp/sclat/manager/SquidMgr.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import static be4rjp.sclat.Main.conf;
import be4rjp.sclat.data.DataMgr;
import be4rjp.sclat.data.PlayerData;
import org.bukkit.Color;
import org.bukkit.Material;
import org.bukkit.Sound;
import org.bukkit.entity.Entity;
Expand Down Expand Up @@ -66,7 +67,7 @@ public void run(){
p.addPotionEffect(new PotionEffect(PotionEffectType.INVISIBILITY, 200, 1));
p.setFoodLevel(20);
p.setSprinting(true);
p.setWalkSpeed(0.25F);
p.setWalkSpeed((float)conf.getConfig().getDouble("SquidSpeed"));



Expand Down Expand Up @@ -98,7 +99,7 @@ public void run(){
p.removePotionEffect(PotionEffectType.INVISIBILITY);
p.setFoodLevel(4);
if(!data.getIsHolding() && !data.getCanPaint())
p.setWalkSpeed(0.15F);
p.setWalkSpeed((float)conf.getConfig().getDouble("PlayerWalkSpeed"));

p.setAllowFlight(false);
p.setFlying(false);
Expand Down

0 comments on commit 248c196

Please sign in to comment.