From 0c9bec16ec5720468a7364f66d8685eae2d12112 Mon Sep 17 00:00:00 2001 From: DarkWeird Date: Wed, 9 Sep 2020 17:06:43 +0300 Subject: [PATCH] feature(reintegrate-gestaltv7): gestalt-v7 compability (package) --- .../events/GetTooltipIconEvent.java | 21 ++++--------------- .../events/GetTooltipNameEvent.java | 19 +++-------------- 2 files changed, 7 insertions(+), 33 deletions(-) diff --git a/src/main/java/org/terasology/worldlyTooltipAPI/events/GetTooltipIconEvent.java b/src/main/java/org/terasology/worldlyTooltipAPI/events/GetTooltipIconEvent.java index 9058755..d2c9409 100644 --- a/src/main/java/org/terasology/worldlyTooltipAPI/events/GetTooltipIconEvent.java +++ b/src/main/java/org/terasology/worldlyTooltipAPI/events/GetTooltipIconEvent.java @@ -1,22 +1,9 @@ -/* - * Copyright 2017 MovingBlocks - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright 2020 The Terasology Foundation +// SPDX-License-Identifier: Apache-2.0 package org.terasology.worldlyTooltipAPI.events; -import org.terasology.entitySystem.event.Event; -import org.terasology.rendering.assets.texture.TextureRegion; +import org.terasology.engine.entitySystem.event.Event; +import org.terasology.engine.rendering.assets.texture.TextureRegion; /* * This event is sent from the WorldlyTooltipAPI module while setting the icon, diff --git a/src/main/java/org/terasology/worldlyTooltipAPI/events/GetTooltipNameEvent.java b/src/main/java/org/terasology/worldlyTooltipAPI/events/GetTooltipNameEvent.java index 49acd8b..37cb9d6 100644 --- a/src/main/java/org/terasology/worldlyTooltipAPI/events/GetTooltipNameEvent.java +++ b/src/main/java/org/terasology/worldlyTooltipAPI/events/GetTooltipNameEvent.java @@ -1,21 +1,8 @@ -/* - * Copyright 2017 MovingBlocks - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright 2020 The Terasology Foundation +// SPDX-License-Identifier: Apache-2.0 package org.terasology.worldlyTooltipAPI.events; -import org.terasology.entitySystem.event.Event; +import org.terasology.engine.entitySystem.event.Event; /* * This event is sent from the WorldlyTooltipAPI module while setting the name,