Remove teleportation bugfix

Not needed anymore - we're targetting CraftBukkit 1.5
This commit is contained in:
Acrobot 2013-03-16 18:33:55 +01:00
parent 6576198b69
commit d908e904a2
2 changed files with 0 additions and 11 deletions

View File

@ -26,7 +26,6 @@ import com.Acrobot.ChestShop.Listeners.PreTransaction.*;
import com.Acrobot.ChestShop.Listeners.PreTransaction.ErrorMessageSender;
import com.Acrobot.ChestShop.Listeners.PreTransaction.PermissionChecker;
import com.Acrobot.ChestShop.Listeners.ShopRefundListener;
import com.Acrobot.ChestShop.Listeners.TeleportFixListener;
import com.Acrobot.ChestShop.Logging.FileFormatter;
import com.Acrobot.ChestShop.Metadata.ItemDatabase;
import com.Acrobot.ChestShop.Signs.RestrictedSign;
@ -181,10 +180,6 @@ public class ChestShop extends JavaPlugin {
registerEvent(new ShopRefundListener());
registerEvent(new ShortNameSaver());
if (!Properties.TURN_OFF_CRAFTBUKKIT_TELEPORTATION_BUGFIX) {
registerEvent(new TeleportFixListener());
}
}
private void registerPreShopCreationEvents() {

View File

@ -152,10 +152,4 @@ public class Properties {
@ConfigurationComment("How much Heroes exp should people get for creating a ChestShop?")
public static double HEROES_EXP = 100;
public static byte NEWLINE_HEROES_EXP; ///////////////////////////////////////////////////
@ConfigurationComment("Do you want to turn off the CraftBukkit teleportation bugfix, which closes the inventory screen on teleport? " +
"(If you're using xAuth, you might want to turn it on) - only applies to CraftBukkit versions lower than 1.4.7-R1.1")
public static boolean TURN_OFF_CRAFTBUKKIT_TELEPORTATION_BUGFIX = false;
}