mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-09-29 15:07:40 +02:00
Remove teleportation bugfix
Not needed anymore - we're targetting CraftBukkit 1.5
This commit is contained in:
parent
6576198b69
commit
d908e904a2
@ -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() {
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user