Skip to content

Commit

Permalink
/sd chunk TP's into center of chunk now
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyzderp committed Jul 30, 2015
1 parent db9e0d7 commit ea9c4cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ant/build_examplemod.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<!-- The version of your mod, can be any string as long as it's valid as part of a file name -->
<!-- and should match the version string returned by your mod. -->
<property name="version" value="1.1.12" />
<property name="version" value="1.1.13" />

<!-- The Minecraft version the mod is for, appended to the output file name for reference -->
<property name="mcversion" value="1.7.2" />
Expand Down
4 changes: 2 additions & 2 deletions ant/buildnumber.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Sun May 03 03:34:37 PDT 2015
build.number=54
#Wed Jul 29 23:03:17 PDT 2015
build.number=55
7 changes: 3 additions & 4 deletions java/com/kyzeragon/staffderpsmod/LiteModStaffDerps.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public LiteModStaffDerps() {}
public String getName() { return "Staff Derps"; }

@Override
public String getVersion() { return "1.1.12"; }
public String getVersion() { return "1.1.13"; }

@Override
public void init(File configPath)
Expand Down Expand Up @@ -211,8 +211,8 @@ else if (tokens[1].equalsIgnoreCase("chunk") || tokens[1].equalsIgnoreCase("c"))
{
if (first != 10000000)
{
second = Integer.parseInt(tokens[i]) * 16;
first *= 16;
second = Integer.parseInt(tokens[i]) * 16 + 8;
first = first * 16 + 8;
Minecraft.getMinecraft().thePlayer.sendChatMessage(
"/tppos " + first + " 100 " + second);
return;
Expand Down Expand Up @@ -298,7 +298,6 @@ else if (tokens[1].equalsIgnoreCase("help"))
@Override
public boolean onChat(S02PacketChat chatPacket, IChatComponent chat,
String message) {
System.out.println(message);
if (message.matches(".*nknown.*ommand.*") && this.sentCmd)
{
this.sentCmd = false;
Expand Down

0 comments on commit ea9c4cc

Please sign in to comment.