mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-11 00:55:10 +02:00
Renamed the Charge class to Trade
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package com.earth2me.essentials.spawn;
|
||||
|
||||
import com.earth2me.essentials.Charge;
|
||||
import com.earth2me.essentials.Trade;
|
||||
import org.bukkit.Server;
|
||||
import com.earth2me.essentials.Essentials;
|
||||
import com.earth2me.essentials.IEssentials;
|
||||
@@ -19,7 +19,7 @@ public class Commandspawn extends EssentialsCommand
|
||||
public void run(Server server, User user, String commandLabel, String[] args) throws Exception
|
||||
{
|
||||
final IEssentials ess = Essentials.getStatic();
|
||||
final Charge charge = new Charge(this.getName(), ess);
|
||||
final Trade charge = new Trade(this.getName(), ess);
|
||||
charge.isAffordableFor(user);
|
||||
user.getTeleport().respawn(ess.getSpawn(), charge);
|
||||
}
|
||||
|
Reference in New Issue
Block a user