mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-12-28 04:37:37 +00:00
Minor changes to JumpPads
This commit is contained in:
parent
6fcaed6253
commit
7879fa24e4
@ -1,5 +1,5 @@
|
||||
#Tue, 13 Aug 2013 17:15:05 +0200
|
||||
#Tue, 13 Aug 2013 18:21:17 +0200
|
||||
|
||||
program.VERSION=2.22
|
||||
program.BUILDNUM=445
|
||||
program.BUILDDATE=08/13/2013 05\:15 PM
|
||||
program.BUILDNUM=446
|
||||
program.BUILDDATE=08/13/2013 06\:21 PM
|
||||
|
@ -1,3 +1,3 @@
|
||||
#Build Number for ANT. Do not edit!
|
||||
#Tue Aug 13 17:15:05 CEST 2013
|
||||
build.number=446
|
||||
#Tue Aug 13 18:21:17 CEST 2013
|
||||
build.number=447
|
||||
|
@ -26,7 +26,7 @@ public class Command_jumppads extends TFM_Command
|
||||
{
|
||||
playerMsg("Jumppads: " + (TFM_Jumppads.getInstance().mode.isOn() ? "Enabled" : "Disabled"), ChatColor.BLUE);
|
||||
playerMsg("Sideways: " + (TFM_Jumppads.getInstance().mode == Mode.NORMAL_AND_SIDEWAYS ? "Enabled" : "Disabled"), ChatColor.BLUE);
|
||||
playerMsg("Strength: " + TFM_Jumppads.getInstance().strength * 10, ChatColor.BLUE);
|
||||
playerMsg("Strength: " + (TFM_Jumppads.getInstance().strength * 10 - 1), ChatColor.BLUE);
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -82,7 +82,7 @@ public class Command_jumppads extends TFM_Command
|
||||
return true;
|
||||
}
|
||||
|
||||
TFM_Util.adminAction(sender.getName(), "Setting Jumppads hight to: " + String.valueOf(strength), false);
|
||||
TFM_Util.adminAction(sender.getName(), "Setting Jumppads strength to: " + String.valueOf(strength), false);
|
||||
TFM_Jumppads.getInstance().strength = (strength / 10) + 0.1F;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user