mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-01 20:15:28 +02:00
Static Abuse Removal - More events purged of static abuse, moved some
unwanted alchemy code into the dumpster
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
//package com.gmail.nossr50.events.skills.alchemy;
|
||||
//
|
||||
//import com.gmail.nossr50.datatypes.skills.PrimarySkillType;
|
||||
//import com.gmail.nossr50.events.skills.McMMOPlayerSkillEvent;
|
||||
//import org.bukkit.block.Block;
|
||||
//import org.bukkit.block.BlockState;
|
||||
//import org.bukkit.block.BrewingStand;
|
||||
//import org.bukkit.entity.Player;
|
||||
//import org.bukkit.event.Cancellable;
|
||||
//
|
||||
//public class McMMOPlayerBrewEvent extends McMMOPlayerSkillEvent implements Cancellable {
|
||||
// private BlockState brewingStand;
|
||||
//
|
||||
// private boolean cancelled;
|
||||
//
|
||||
// public McMMOPlayerBrewEvent(Player player, BlockState brewingStand) {
|
||||
// super(player, PrimarySkillType.ALCHEMY);
|
||||
// this.brewingStand = brewingStand;
|
||||
// cancelled = false;
|
||||
// }
|
||||
//
|
||||
// public boolean isCancelled() {
|
||||
// return cancelled;
|
||||
// }
|
||||
//
|
||||
// public void setCancelled(boolean newValue) {
|
||||
// this.cancelled = newValue;
|
||||
// }
|
||||
//
|
||||
// public Block getBrewingStandBlock() {
|
||||
// return brewingStand.getBlock();
|
||||
// }
|
||||
//
|
||||
// public BrewingStand getBrewingStand() {
|
||||
// return (BrewingStand) brewingStand;
|
||||
// }
|
||||
//}
|
@@ -0,0 +1,34 @@
|
||||
//package com.gmail.nossr50.events.skills.alchemy;
|
||||
//
|
||||
//import com.gmail.nossr50.datatypes.skills.PrimarySkillType;
|
||||
//import com.gmail.nossr50.events.skills.McMMOPlayerSkillEvent;
|
||||
//import org.bukkit.entity.Player;
|
||||
//import org.bukkit.event.Cancellable;
|
||||
//
|
||||
//public class McMMOPlayerCatalysisEvent extends McMMOPlayerSkillEvent implements Cancellable {
|
||||
// private double speed;
|
||||
//
|
||||
// private boolean cancelled;
|
||||
//
|
||||
// public McMMOPlayerCatalysisEvent(Player player, double speed) {
|
||||
// super(player, PrimarySkillType.ALCHEMY);
|
||||
// this.speed = speed;
|
||||
// cancelled = false;
|
||||
// }
|
||||
//
|
||||
// public boolean isCancelled() {
|
||||
// return cancelled;
|
||||
// }
|
||||
//
|
||||
// public void setCancelled(boolean newValue) {
|
||||
// this.cancelled = newValue;
|
||||
// }
|
||||
//
|
||||
// public double getSpeed() {
|
||||
// return speed;
|
||||
// }
|
||||
//
|
||||
// public void setSpeed(double speed) {
|
||||
// this.speed = speed;
|
||||
// }
|
||||
//}
|
Reference in New Issue
Block a user