mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-23 02:54:57 +00:00
Fixed a few depriciation issues
This commit is contained in:
parent
5dd36a9f26
commit
f0679c4f61
5 changed files with 10 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
#Sun, 22 Jul 2012 12:53:52 -0400
|
||||
#Sun, 22 Jul 2012 15:29:37 -0400
|
||||
|
||||
program.VERSION=2.5
|
||||
program.BUILDNUM=62
|
||||
program.BUILDDATE=07/22/2012 12\:53 PM
|
||||
program.BUILDNUM=68
|
||||
program.BUILDDATE=07/22/2012 03\:29 PM
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#Build Number for ANT. Do not edit!
|
||||
#Sun Jul 22 12:53:52 EDT 2012
|
||||
build.number=63
|
||||
#Sun Jul 22 15:29:37 EDT 2012
|
||||
build.number=69
|
||||
|
|
|
@ -73,7 +73,7 @@ public class TFM_PlayerListener implements Listener
|
|||
Location player_pos = player.getLocation();
|
||||
Vector direction = player_pos.getDirection().normalize();
|
||||
|
||||
LivingEntity rezzed_mob = player.getWorld().spawnCreature(player_pos.add(direction.multiply(2.0)), playerdata.mobThrowerCreature());
|
||||
LivingEntity rezzed_mob = (LivingEntity)player.getWorld().spawnEntity(player_pos.add(direction.multiply(2.0)), playerdata.mobThrowerCreature());
|
||||
rezzed_mob.setVelocity(direction.multiply(playerdata.mobThrowerSpeed()));
|
||||
playerdata.enqueueMob(rezzed_mob);
|
||||
|
||||
|
|
|
@ -266,7 +266,7 @@ public class TFM_UserInfo
|
|||
LivingEntity oldmob = mob_thrower_queue.remove(0);
|
||||
if (oldmob != null)
|
||||
{
|
||||
oldmob.damage(20);
|
||||
oldmob.damage(500);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -251,9 +251,9 @@ public class TotalFreedomMod extends JavaPlugin
|
|||
props.load(in);
|
||||
in.close();
|
||||
|
||||
pluginVersion = props.getProperty("program.VERSION");
|
||||
buildNumber = props.getProperty("program.BUILDNUM");
|
||||
buildDate = props.getProperty("program.BUILDDATE");
|
||||
TotalFreedomMod.pluginVersion = props.getProperty("program.VERSION");
|
||||
TotalFreedomMod.buildNumber = props.getProperty("program.BUILDNUM");
|
||||
TotalFreedomMod.buildDate = props.getProperty("program.BUILDDATE");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue