Fix Particle

This commit is contained in:
2024-12-01 17:12:48 +01:00
parent 37072b1f49
commit 47cca70d95
7 changed files with 89 additions and 12 deletions
@@ -0,0 +1,29 @@
/*
* This file is a part of the SteamWar software.
*
* Copyright (C) 2024 SteamWar.de-Serverteam
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.steamwar.core;
import org.bukkit.Particle;
public class TrickyParticleWrapper21 implements TrickyParticleWrapper {
@Override
public Particle getVillagerHappy() {
return Particle.HAPPY_VILLAGER;
}
}
@@ -41,11 +41,6 @@ public class TrickyTrialsWrapper21 implements TrickyTrialsWrapper {
return Material.TURTLE_SCUTE;
}
@Override
public Particle getVillagerHappyParticle() {
return Particle.HAPPY_VILLAGER;
}
@Override
public String getInventoryTitle(InventoryView view) {
return view.getTitle();