mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 10:05:59 +00:00
Update for MC v1.6.4
Other minor fixes
This commit is contained in:
parent
e10ab45bda
commit
faeaa3aab7
@ -1,5 +1,5 @@
|
|||||||
#Tue, 17 Sep 2013 21:28:11 -0400
|
#Thu, 19 Sep 2013 21:24:16 -0400
|
||||||
|
|
||||||
program.VERSION=3.2
|
program.VERSION=3.2
|
||||||
program.BUILDNUM=596
|
program.BUILDNUM=599
|
||||||
program.BUILDDATE=09/17/2013 09\:28 PM
|
program.BUILDDATE=09/19/2013 09\:24 PM
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#Build Number for ANT. Do not edit!
|
#Build Number for ANT. Do not edit!
|
||||||
#Tue Sep 17 21:28:11 EDT 2013
|
#Thu Sep 19 21:24:16 EDT 2013
|
||||||
build.number=597
|
build.number=600
|
||||||
|
@ -78,10 +78,10 @@ public class Command_tossmob extends TFM_Command
|
|||||||
|
|
||||||
playerData.enableMobThrower(creature, speed);
|
playerData.enableMobThrower(creature, speed);
|
||||||
playerMsg("MobThrower is enabled. Creature: " + creature + " - Speed: " + speed + ".", ChatColor.GREEN);
|
playerMsg("MobThrower is enabled. Creature: " + creature + " - Speed: " + speed + ".", ChatColor.GREEN);
|
||||||
playerMsg("Left click while holding a stick to throw mobs!", ChatColor.GREEN);
|
playerMsg("Left click while holding a " + Material.BONE.toString() + " to throw mobs!", ChatColor.GREEN);
|
||||||
playerMsg("Type '/tossmob off' to disable. -By Madgeek1450", ChatColor.GREEN);
|
playerMsg("Type '/tossmob off' to disable. -By Madgeek1450", ChatColor.GREEN);
|
||||||
|
|
||||||
sender_p.setItemInHand(new ItemStack(Material.STICK, 1));
|
sender_p.setItemInHand(new ItemStack(Material.BONE, 1));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -240,7 +240,7 @@ public class TFM_Config
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
InputStream defaultConfig = getDefaultConfig();
|
InputStream defaultConfig = getDefaultConfig();
|
||||||
FileUtils.copyInputStreamToFile(getDefaultConfig(), targetFile);
|
FileUtils.copyInputStreamToFile(defaultConfig, targetFile);
|
||||||
defaultConfig.close();
|
defaultConfig.close();
|
||||||
}
|
}
|
||||||
catch (IOException ex)
|
catch (IOException ex)
|
||||||
|
@ -6,11 +6,11 @@ import java.util.Iterator;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
import net.minecraft.server.v1_6_R2.BanEntry;
|
import net.minecraft.server.v1_6_R3.BanEntry;
|
||||||
import net.minecraft.server.v1_6_R2.BanList;
|
import net.minecraft.server.v1_6_R3.BanList;
|
||||||
import net.minecraft.server.v1_6_R2.MinecraftServer;
|
import net.minecraft.server.v1_6_R3.MinecraftServer;
|
||||||
import net.minecraft.server.v1_6_R2.PlayerList;
|
import net.minecraft.server.v1_6_R3.PlayerList;
|
||||||
import net.minecraft.server.v1_6_R2.PropertyManager;
|
import net.minecraft.server.v1_6_R3.PropertyManager;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.Server;
|
import org.bukkit.Server;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
Loading…
Reference in New Issue
Block a user